absinthe v1.4.0-beta.1 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
See Absinthe.Blueprint.Transform.postwalk/2
See Absinthe.Blueprint.Transform.postwalk/3
See Absinthe.Blueprint.Transform.prewalk/2
See Absinthe.Blueprint.Transform.prewalk/3
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
result_t()
View Source
result_t() :: %{optional(:data) => term, optional(:errors) => [term], optional(:extensions) => term}
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], flags: flags_t, fragments: [Absinthe.Blueprint.Document.Fragment.Named.t], input: term, name: nil | String.t, operations: [Absinthe.Blueprint.Document.Operation.t], resolution: Absinthe.Blueprint.Document.Resolution.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.
See Absinthe.Blueprint.Transform.postwalk/2
.
See Absinthe.Blueprint.Transform.postwalk/3
.
See Absinthe.Blueprint.Transform.prewalk/2
.
See Absinthe.Blueprint.Transform.prewalk/3
.
Add a flag to a node.
Update the current operation.