Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- buildIntrospectionSchema :: Type 'Output -> Maybe (Type 'Output) -> Maybe (Type 'Output) -> Either ConflictingDefinitions Schema
- typeIntrospection :: forall n. MonadParse n => FieldParser n (Schema -> Value)
- schema :: forall n. MonadParse n => FieldParser n (Schema -> Value)
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.