Package graphql.normalized
package graphql.normalized
-
ClassDescriptionAn
ExecutableNormalizedField
represents a field in an executable graphql operation.AExecutableNormalizedOperation
represent how the text of a graphql operation (sometimes known colloquially as a query) will be executed at runtime according to the graphql specification.This factory can create aExecutableNormalizedOperation
which represents what would be executed during a given graphql operation.This class can take a list ofExecutableNormalizedField
s and compiling out a normalised operationDocument
that would represent how those fields may be executed.The result is aDocument
and a map of variables that would go with that document.An argument value with type information.This accumulator class decides on whether to create a variable for a query argument and if so it tracks what variables were made.This predicate indicates whether a variable should be made for this field argument OR whether it will be compiled into a graphql AST literal.