absinthe v1.4.13 Absinthe.Blueprint View Source
Represents the graphql document to be executed.
Please see the code itself for more information on individual blueprint sub modules.
Link to this section Summary
Functions
Get the currently selected operation
Determine whether a flag has been set on a node
Add a flag to a node
Update the current operation
Link to this section Types
Link to this type
node_t()
View Source
node_t() :: Absinthe.Blueprint.t() | Absinthe.Blueprint.Directive.t() | Absinthe.Blueprint.Document.t() | Absinthe.Blueprint.Schema.t() | Absinthe.Blueprint.Input.t() | Absinthe.Blueprint.TypeReference.t()
Link to this type
t()
View Source
t() :: %Absinthe.Blueprint{ adapter: nil | Absinthe.Adapter.t(), directives: [Absinthe.Blueprint.Schema.DirectiveDefinition.t()], errors: [Absinthe.Phase.Error.t()], execution: Absinthe.Blueprint.Execution.t(), flags: flags_t(), fragments: [Absinthe.Blueprint.Document.Fragment.Named.t()], input: term(), name: nil | String.t(), operations: [Absinthe.Blueprint.Document.Operation.t()], result: result_t(), schema: nil | Absinthe.Schema.t(), types: [Absinthe.Blueprint.Schema.t()] }
Link to this type
use_t()
View Source
use_t() :: Absinthe.Blueprint.Document.Fragment.Named.Use.t() | Absinthe.Blueprint.Input.Variable.Use.t()
Link to this section Functions
Link to this function
current_operation(blueprint)
View Source
current_operation(t()) :: nil | Absinthe.Blueprint.Document.Operation.t()
Get the currently selected operation.
Determine whether a flag has been set on a node.
Add a flag to a node.
Update the current operation.