Package | Description |
---|---|
graphql.execution | |
graphql.introspection | |
graphql.schema | |
graphql.schema.idl | |
graphql.validation |
Modifier and Type | Method and Description |
---|---|
protected CompletableFuture<ExecutionResult> |
ExecutionStrategy.completeValueForEnum(ExecutionContext executionContext,
ExecutionStrategyParameters parameters,
GraphQLEnumType enumType,
Object result)
Called to turn an object into a enum value according to the
GraphQLEnumType by asking that enum type to coerce the object into a valid value |
Modifier and Type | Field and Description |
---|---|
static GraphQLEnumType |
Introspection.__DirectiveLocation |
static GraphQLEnumType |
Introspection.__TypeKind |
Modifier and Type | Method and Description |
---|---|
GraphQLEnumType |
GraphQLEnumType.Builder.build() |
GraphQLEnumType |
GraphQLEnumType.transform(Consumer<GraphQLEnumType.Builder> builderConsumer)
This helps you transform the current GraphQLEnumType into another one by starting a builder with all
the current values and allows you to transform it how you want.
|
Modifier and Type | Method and Description |
---|---|
static GraphQLEnumType.Builder |
GraphQLEnumType.newEnum(GraphQLEnumType existing) |
TraversalControl |
GraphQLTypeVisitorStub.visitGraphQLEnumType(GraphQLEnumType node,
TraverserContext<GraphQLType> context) |
TraversalControl |
GraphQLTypeVisitor.visitGraphQLEnumType(GraphQLEnumType node,
TraverserContext<GraphQLType> context) |
TraversalControl |
GraphQLTypeCollectingVisitor.visitGraphQLEnumType(GraphQLEnumType node,
TraverserContext<GraphQLType> context) |
Constructor and Description |
---|
Builder(GraphQLEnumType existing) |
Modifier and Type | Method and Description |
---|---|
default GraphQLEnumType |
SchemaDirectiveWiring.onEnum(SchemaDirectiveWiringEnvironment<GraphQLEnumType> environment)
This is called when an enum is encountered, which gives the schema directive a chance to modify the shape and behaviour
of that DSL element
|
Modifier and Type | Method and Description |
---|---|
default GraphQLEnumType |
SchemaDirectiveWiring.onEnum(SchemaDirectiveWiringEnvironment<GraphQLEnumType> environment)
This is called when an enum is encountered, which gives the schema directive a chance to modify the shape and behaviour
of that DSL element
|
Modifier and Type | Method and Description |
---|---|
protected void |
ValidationUtil.handleEnumError(Value value,
GraphQLEnumType type) |
protected void |
ArgumentValidationUtil.handleEnumError(Value value,
GraphQLEnumType type) |
Copyright © 2019. All rights reserved.