absinthe v1.5.3 Absinthe.Type.Directive View Source
Used by the GraphQL runtime as a way of modifying execution behavior.
Type system creators will usually not create these directly.
Link to this section Summary
Link to this section Types
Link to this type
location()
View Sourcelocation() :: :query | :mutation | :field | :fragment_definition | :fragment_spread | :inline_fragment
A defined directive.
:name
- The name of the directivee. Should be a lowercasebinary
. Set automatically.:description
- A nice description for introspection.:args
- A map ofAbsinthe.Type.Argument
structs. SeeAbsinthe.Schema.Notation.arg/2
.:locations
- A list of places the directives can be used.
The :__reference__
key is for internal use.
Link to this section Functions
Callback implementation for c:Absinthe.Introspection.Kind.kind/0
.