Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Various parts of a GraphQL document can be annotated with directives. This module describes locations in a document where directives can appear.
Synopsis
Documentation
data DirectiveLocation Source #
All directives can be splitted in two groups: directives used to annotate various parts of executable definitions and the ones used in the schema definition.
ExecutableDirectiveLocation ExecutableDirectiveLocation | |
TypeSystemDirectiveLocation TypeSystemDirectiveLocation |
Instances
Eq DirectiveLocation Source # | |
Defined in Language.GraphQL.AST.DirectiveLocation (==) :: DirectiveLocation -> DirectiveLocation -> Bool # (/=) :: DirectiveLocation -> DirectiveLocation -> Bool # | |
Show DirectiveLocation Source # | |
Defined in Language.GraphQL.AST.DirectiveLocation showsPrec :: Int -> DirectiveLocation -> ShowS # show :: DirectiveLocation -> String # showList :: [DirectiveLocation] -> ShowS # |
data ExecutableDirectiveLocation Source #
Where directives can appear in an executable definition, like a query.
Instances
data TypeSystemDirectiveLocation Source #
Where directives can appear in a type system definition.
Schema | |
Scalar | |
Object | |
FieldDefinition | |
ArgumentDefinition | |
Interface | |
Union | |
Enum | |
EnumValue | |
InputObject | |
InputFieldDefinition |