graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.GraphQL.Schema.Options

Description

Definitions for schema building configuration.

Synopsis

Documentation

data StringifyNumbers Source #

Should we represent numbers in our responses as numbers, or strings? Some backends can return numbers that exceed the bounds of JSON's own number type. In these cases, we can use stringified versions of these numbers to avoid this problem.

data DangerouslyCollapseBooleans Source #

Should Boolean fields be collapsed to True when a null value is given? This was the behaviour of Hasura V1, and is now discouraged.

data InferFunctionPermissions Source #

Should we infer function permissions? If this flag is set to InferFunctionPermissions, we may fail to build expression parsers in buildQueryAndSubscriptionFields for users with unrecognised roles.

data OptimizePermissionFilters Source #

Should we attempt to deduplicate permission filters? This flag is used in relationshipField to determine whether certain row-level permission filters can be dropped in certain cases.