absinthe v1.2.0-alpha.1 Absinthe.Blueprint
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
Types
flags_t :: %{optional(atom) => module}
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
t :: %Absinthe.Blueprint{adapter: nil | Absinthe.Adapter.t, directives: [Absinthe.Blueprint.Schema.DirectiveDefinition.t], errors: [Absinthe.Blueprint.Phase.Error.t], flags: Absinthe.Blueprint.flags_t, fragments: [Absinthe.Blueprint.Document.Fragment.Named.t], operations: [Absinthe.Blueprint.Document.Operation.t], result: Absinthe.Blueprint.Document.Result.t, schema: nil | Absinthe.Schema.t, types: [Absinthe.Blueprint.Schema.t]}
Functions
Specs
current_operation(t) ::
nil |
Absinthe.Blueprint.Operation.t
Get the currently selected operation.
Specs
flagged?(node_t, atom) :: boolean
Determine whether a flag has been set on a node.
Specs
fragment(t, String.t) ::
nil |
Absinthe.Blueprint.Document.Fragment.Named.t