Safe Haskell | None |
---|---|
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)
- data SomeType = forall k. SomeType (Type k)
- typeField :: forall n. MonadParse n => Parser 'Output n (SomeType -> Value)
- inputValue :: forall n. MonadParse n => Parser 'Output n (Definition InputFieldInfo -> Value)
- enumValue :: forall n. MonadParse n => Parser 'Output n (Definition EnumValueInfo -> Value)
- typeKind :: forall n. MonadParse n => Parser 'Both n ()
- fieldField :: forall n. MonadParse n => Parser 'Output n (Definition FieldInfo -> Value)
- directiveSet :: forall n. MonadParse n => Parser 'Output n (DirectiveInfo -> Value)
- schemaSet :: forall n. MonadParse n => Parser 'Output n (Schema -> Value)
- selectionSetToJSON :: InsOrdHashMap Name Value -> Value
- applyPrinter :: InsOrdHashMap Name (ParsedSelection (a -> Value)) -> a -> Value
- nameAsJSON :: HasName a => a -> 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.
inputValue :: forall n. MonadParse n => Parser 'Output n (Definition InputFieldInfo -> Value) Source #
enumValue :: forall n. MonadParse n => Parser 'Output n (Definition EnumValueInfo -> Value) Source #
fieldField :: forall n. MonadParse n => Parser 'Output n (Definition FieldInfo -> Value) Source #
directiveSet :: forall n. MonadParse n => Parser 'Output n (DirectiveInfo -> Value) Source #
selectionSetToJSON :: InsOrdHashMap Name Value -> Value Source #
applyPrinter :: InsOrdHashMap Name (ParsedSelection (a -> Value)) -> a -> Value Source #
nameAsJSON :: HasName a => a -> Value Source #