Settings
The following settings are supported:
pgConfig*: either the PostgreSQL connection string ('postgres://user:password@host/dbname') or a pgClient with which to introspect the databasepgSchemas*: an array of schema names to introspect, e.g.['public']pgInflection: the inflection object to use for naming fields/types/arguments/values. See: graphile-build-pg/src/inflections.jspgExtendedTypes: settrue(default) to use JSON and other advanced types, setfalseto use strings insteadpgJwtTypeIdentifier: the fully qualified name of a compound type which, if seen, will be converted to a signed JWT token and returned as a string instead.pgJwtSecret: the secret with which to sign the above tokenpgDisableDefaultMutations: set totrueif you don't want to use our default CRUD mutations
These are mostly taken from the
PostGraphile API options,
options for custom plugins can be supplied through graphileBuildOptions. For
the complete list of options see
the source of getPostGraphileBuilder.
* Required