| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Language.GraphQL.AST.DirectiveLocation
Description
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.
Constructors
| ExecutableDirectiveLocation ExecutableDirectiveLocation | |
| TypeSystemDirectiveLocation TypeSystemDirectiveLocation |
Instances
| Eq DirectiveLocation Source # | |
Defined in Language.GraphQL.AST.DirectiveLocation Methods (==) :: DirectiveLocation -> DirectiveLocation -> Bool # (/=) :: DirectiveLocation -> DirectiveLocation -> Bool # | |
| Show DirectiveLocation Source # | |
Defined in Language.GraphQL.AST.DirectiveLocation Methods 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
| Eq ExecutableDirectiveLocation Source # | |
Defined in Language.GraphQL.AST.DirectiveLocation Methods (==) :: ExecutableDirectiveLocation -> ExecutableDirectiveLocation -> Bool # (/=) :: ExecutableDirectiveLocation -> ExecutableDirectiveLocation -> Bool # | |
| Show ExecutableDirectiveLocation Source # | |
Defined in Language.GraphQL.AST.DirectiveLocation Methods showsPrec :: Int -> ExecutableDirectiveLocation -> ShowS # show :: ExecutableDirectiveLocation -> String # showList :: [ExecutableDirectiveLocation] -> ShowS # | |
data TypeSystemDirectiveLocation Source #
Where directives can appear in a type system definition.
Constructors
| Schema | |
| Scalar | |
| Object | |
| FieldDefinition | |
| ArgumentDefinition | |
| Interface | |
| Union | |
| Enum | |
| EnumValue | |
| InputObject | |
| InputFieldDefinition |
Instances
| Eq TypeSystemDirectiveLocation Source # | |
Defined in Language.GraphQL.AST.DirectiveLocation Methods (==) :: TypeSystemDirectiveLocation -> TypeSystemDirectiveLocation -> Bool # (/=) :: TypeSystemDirectiveLocation -> TypeSystemDirectiveLocation -> Bool # | |
| Show TypeSystemDirectiveLocation Source # | |
Defined in Language.GraphQL.AST.DirectiveLocation Methods showsPrec :: Int -> TypeSystemDirectiveLocation -> ShowS # show :: TypeSystemDirectiveLocation -> String # showList :: [TypeSystemDirectiveLocation] -> ShowS # | |