absinthe v1.2.0-alpha.1 Absinthe.Phase.Document.Validation.KnownArgumentNames
Validates document to ensure that all arguments are in the schema.
Note: while graphql-js doesn’t add errors to unknown arguments that are provided to unknown fields, Absinthe does — but when the errors are harvested from the Blueprint tree, only the first layer of unknown errors (eg, the field) should be presented to the user.
Summary
Functions
Generate an error for a directive argument
Generate an error for a field argument
Run the validation
Functions
Generate an error for a directive argument
Generate an error for a field argument
Specs
put_error(Blueprint.node_t, Absinthe.Phase.Error.t) :: Blueprint.node_t
Specs
Run the validation.