View Source GraphQLDocument.Directive (GraphQLDocument v0.2.2)
Directives provide a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
A Directive might be simply a name, or it can have arguments.
See render/1
for examples.
Link to this section Summary
Functions
Returns a list of directives as iodata to be inserted into a Document.
Link to this section Types
@type t() :: GraphQLDocument.Name.t() | {GraphQLDocument.Name.t(), [GraphQLDocument.Argument.t()]}
A GraphQL directive.
examples
Examples
:debug
[log: [level: "warn"]]