graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.GraphQL.Schema.Introspect

Synopsis

Documentation

buildIntrospectionSchema :: Type 'Output -> Maybe (Type 'Output) -> Maybe (Type 'Output) -> Either ConflictingDefinitions Schema Source #

Builds a Schema from GraphQL types for the query_root, mutation_root and subscription_root.

See Note [What introspection exposes]

typeIntrospection :: forall n. MonadParse n => FieldParser n (Schema -> Value) Source #

Generate a __type introspection parser

schema :: forall n. MonadParse n => FieldParser n (Schema -> Value) Source #

Generate a __schema introspection parser.