absinthe v1.2.0-alpha.1 Absinthe.Phase.Document.Arguments.Normalize

Populate all arguments in the document with their provided values:

  • If a literal value is provided for an argument, set the Argument.t’s normalized_value field to that value.
  • If a variable is provided for an argument, set the Argument.t’s normalized_value to the reconciled value for the variable (Note: this requires the Phase.Document.Variables phase as a prerequisite).

Note that no validation occurs in this phase.

Summary

Functions

any_invalid?(nodes)
flag_invalid(node)

Specs

flag_invalid(Blueprint.node_t) :: Blueprint.node_t
flag_invalid(node, flag)

Specs

flag_invalid(Blueprint.node_t, atom) :: Blueprint.node_t
inherit_invalid(node, children, add_flag)
put_error(node, error)

Specs

put_error(Blueprint.node_t, Absinthe.Phase.Error.t) :: Blueprint.node_t
put_flag(node, flag)
run(input, options \\ [])