Need help or advice? We now offer Development Support, direct from the maintainer Get support
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, setfalse
to 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 totrue
if 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