Package graphql.validation.rules
package graphql.validation.rules
-
ClassesClassDescriptionDefer and stream directive labels are unique A GraphQL document is only valid if defer and stream directives' label argument is static and unique.Defer and stream directives are used on valid root field A GraphQL document is only valid if defer directives are not used on root mutation or subscription types.Defer Directive is Used On Valid Operations A GraphQL document is only valid if defer directives are not used on subscription types.Unique variable namesA subscription operation must only have one root field A subscription operation's single root field must not be an introspection field https://spec.graphql.org/draft/#sec-Single-root-fieldUnique argument names A GraphQL field or directive is only valid if all supplied arguments are uniquely named.https://facebook.github.io/graphql/June2018/#sec-Directives-Are-Unique-Per-LocationA GraphQL document is only valid if all defined operations have unique names.Unique variable names