graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
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.

data SomeType Source #

Constructors

forall k. SomeType (Type k) 

typeKind :: forall n. MonadParse n => Parser 'Both n () Source #

schemaSet :: forall n. MonadParse n => Parser 'Output n (Schema -> Value) Source #

selectionSetToJSON :: InsOrdHashMap Name Value -> Value Source #

applyPrinter :: InsOrdHashMap Name (ParsedSelection (a -> Value)) -> a -> Value Source #