absinthe v1.2.0-beta.0 Absinthe.Phase.Document.Validation.ScalarLeafs
Validates that all leaf nodes are scalars.
Examples:
Assume user
field is an object, and email
is a scalar.
DO NOT
{
user
}
DO
{
user {name email}
}
DO NOT
{
email { fields on scalar }
}
DO
{
email
}
Summary
Functions
Generate the error message for an extraneous field subselection
Generate the error message for a missing field subselection
Run the validation
Functions
Generate the error message for an extraneous field subselection.
Generate the error message for a missing field subselection.
Run the validation.