Uses of Package
graphql.execution
Packages that use graphql.execution
Package
Description
-
Classes in graphql.execution used by graphqlClassDescriptionThis Exception indicates that the current execution should be aborted.This is called when an exception is thrown during
DataFetcher.get(DataFetchingEnvironment)
executionAn object that can be returned from aDataFetcher
that contains both data, local context and errors to be added to the final result.This opaque identifier is used to identify a unique query executionA provider ofExecutionId
sAs the graphql query executes, it forms a hierarchy from parent fields (and their type) to their child fields (and their type) until a scalar type is encountered; this class captures that execution type information.An execution strategy is give a list of fields from the graphql query to execute and find values for using a recursive strategy.This represents all Fields in a query which overlap and are merged into one.Holds raw variables, which have not been coerced yet intoCoercedVariables
As a graphql query is executed, each field forms a hierarchical path from parent field to child field and this class represents that path as a series of segments.This class is a classic builder style one that SHOULD have been on have been onTypeResolutionEnvironment
but for legacy reasons was not.This is thrown if aTypeResolver
fails to give back a concrete type or provides a type that doesn't implement the given interface or union.A value unboxer takes values that are wrapped in classes likeOptional
/OptionalInt
etc.. -
Classes in graphql.execution used by graphql.analysisClassDescriptionThis Exception indicates that the current execution should be aborted.Holds coerced variables, that is their values are now in a canonical form.Holds raw variables, which have not been coerced yet into
CoercedVariables
-
Classes in graphql.execution used by graphql.executionClassDescriptionHolds coerced variables, that is their values are now in a canonical form.This is called when an exception is thrown during
DataFetcher.get(DataFetchingEnvironment)
executionThe parameters available toDataFetcherExceptionHandler
sThe result object forDataFetcherExceptionHandler
sAn object that can be returned from aDataFetcher
that contains both data, local context and errors to be added to the final result.This opaque identifier is used to identify a unique query executionA provider ofExecutionId
sAs the graphql query executes, it forms a hierarchy from parent fields (and their type) to their child fields (and their type) until a scalar type is encountered; this class captures that execution type information.An execution strategy is give a list of fields from the graphql query to execute and find values for using a recursive strategy.The parameters that are passed to execution strategiesNote: This is returned byInstrumentationFieldCompleteParameters.getFetchedValue()
and therefore part of the public despite never used in a method signature.A field collector can iterate over field selection sets and build out the sub fields that have been selected, expanding named and inline fragments as it goes.sInternal because FieldCollector is internal.This represents all Fields in a query which overlap and are merged into one.This will check that a value is non-null when the type definition says it must be and, it will throwNonNullableFieldWasNullException
if this is not the case.See (https://spec.graphql.org/October2021/#sec-Errors-and-Non-Nullability), but if a non nullable field actually resolves to a null value and the parent type is nullable then the parent must in fact become null so we use exceptions to indicate this special caseThis is thrown if a non nullable value is coerced to a null valueHolds raw variables, which have not been coerced yet intoCoercedVariables
This class is used to track the number of result nodes that have been created during execution.As a graphql query is executed, each field forms a hierarchical path from parent field to child field and this class represents that path as a series of segments.The standard handling of data fetcher error involves placing aExceptionWhileDataFetching
error into the error collectionThis is thrown if aTypeResolver
fails to give back a concrete type or provides a type that doesn't implement the given interface or union.A value unboxer takes values that are wrapped in classes likeOptional
/OptionalInt
etc.. -
Classes in graphql.execution used by graphql.execution.conditionalClassDescriptionHolds coerced variables, that is their values are now in a canonical form.
-
Classes in graphql.execution used by graphql.execution.directivesClassDescriptionHolds coerced variables, that is their values are now in a canonical form.This represents all Fields in a query which overlap and are merged into one.
-
Classes in graphql.execution used by graphql.execution.instrumentation
-
Classes in graphql.execution used by graphql.execution.instrumentation.dataloader
-
Classes in graphql.execution used by graphql.execution.instrumentation.fieldvalidationClassDescriptionAs a graphql query is executed, each field forms a hierarchical path from parent field to child field and this class represents that path as a series of segments.
-
Classes in graphql.execution used by graphql.execution.instrumentation.parametersClassDescriptionAs the graphql query executes, it forms a hierarchy from parent fields (and their type) to their child fields (and their type) until a scalar type is encountered; this class captures that execution type information.The parameters that are passed to execution strategies
-
Classes in graphql.execution used by graphql.introspectionClassDescriptionThis represents all Fields in a query which overlap and are merged into one.
-
Classes in graphql.execution used by graphql.normalizedClassDescriptionHolds coerced variables, that is their values are now in a canonical form.This represents all Fields in a query which overlap and are merged into one.Holds raw variables, which have not been coerced yet into
CoercedVariables
As a graphql query is executed, each field forms a hierarchical path from parent field to child field and this class represents that path as a series of segments. -
Classes in graphql.execution used by graphql.scalarClassDescriptionHolds coerced variables, that is their values are now in a canonical form.
-
Classes in graphql.execution used by graphql.schemaClassDescriptionHolds coerced variables, that is their values are now in a canonical form.This opaque identifier is used to identify a unique query executionAs the graphql query executes, it forms a hierarchy from parent fields (and their type) to their child fields (and their type) until a scalar type is encountered; this class captures that execution type information.This represents all Fields in a query which overlap and are merged into one.