Package | Description |
---|---|
graphql | |
graphql.execution | |
graphql.relay | |
graphql.schema | |
graphql.schema.idl | |
graphql.validation |
Modifier and Type | Method and Description |
---|---|
static Optional<GraphQLArgument> |
DirectivesUtil.directiveWithArg(List<GraphQLDirective> directiveList,
String directiveName,
String argumentName) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
ValuesResolver.getArgumentValues(GraphQLCodeRegistry codeRegistry,
List<GraphQLArgument> argumentTypes,
List<Argument> arguments,
Map<String,Object> variables) |
Map<String,Object> |
ValuesResolver.getArgumentValues(List<GraphQLArgument> argumentTypes,
List<Argument> arguments,
Map<String,Object> variables) |
Modifier and Type | Method and Description |
---|---|
List<GraphQLArgument> |
Relay.getBackwardPaginationConnectionFieldArguments() |
List<GraphQLArgument> |
Relay.getConnectionFieldArguments() |
List<GraphQLArgument> |
Relay.getForwardPaginationConnectionFieldArguments() |
Modifier and Type | Method and Description |
---|---|
GraphQLArgument |
GraphQLArgument.Builder.build() |
GraphQLArgument |
GraphQLFieldDefinition.getArgument(String name) |
GraphQLArgument |
GraphQLDirective.getArgument(String name) |
GraphQLArgument |
GraphQLArgument.transform(Consumer<GraphQLArgument.Builder> builderConsumer)
This helps you transform the current GraphQLArgument 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 |
---|---|
List<GraphQLArgument> |
GraphQLFieldDefinition.getArguments() |
List<GraphQLArgument> |
GraphQLDirective.getArguments() |
Modifier and Type | Method and Description |
---|---|
GraphQLFieldDefinition.Builder |
GraphQLFieldDefinition.Builder.argument(GraphQLArgument argument) |
GraphQLDirective.Builder |
GraphQLDirective.Builder.argument(GraphQLArgument argument) |
static GraphQLArgument.Builder |
GraphQLArgument.newArgument(GraphQLArgument existing) |
TraversalControl |
GraphQLTypeVisitorStub.visitGraphQLArgument(GraphQLArgument node,
TraverserContext<GraphQLType> context) |
TraversalControl |
GraphQLTypeVisitor.visitGraphQLArgument(GraphQLArgument node,
TraverserContext<GraphQLType> context) |
Modifier and Type | Method and Description |
---|---|
GraphQLFieldDefinition.Builder |
GraphQLFieldDefinition.Builder.argument(List<GraphQLArgument> arguments)
Deprecated.
This is a badly named method and is replaced by
GraphQLFieldDefinition.Builder.arguments(java.util.List) |
GraphQLFieldDefinition.Builder |
GraphQLFieldDefinition.Builder.arguments(List<GraphQLArgument> arguments)
This adds the list of arguments to the field.
|
Constructor and Description |
---|
Builder(GraphQLArgument existing) |
Constructor and Description |
---|
GraphQLDirective(String name,
String description,
EnumSet<Introspection.DirectiveLocation> locations,
List<GraphQLArgument> arguments,
boolean onOperation,
boolean onFragment,
boolean onField) |
GraphQLFieldDefinition(String name,
String description,
GraphQLOutputType type,
DataFetcher<?> dataFetcher,
List<GraphQLArgument> arguments,
String deprecationReason)
Deprecated.
use the
GraphQLFieldDefinition.newFieldDefinition() builder pattern instead, as this constructor will be made private in a future version. |
GraphQLFieldDefinition(String name,
String description,
GraphQLOutputType type,
DataFetcherFactory dataFetcherFactory,
List<GraphQLArgument> arguments,
String deprecationReason,
List<GraphQLDirective> directives,
FieldDefinition definition)
Deprecated.
use the
GraphQLFieldDefinition.newFieldDefinition() builder pattern instead, as this constructor will be made private in a future version. |
Modifier and Type | Method and Description |
---|---|
default GraphQLArgument |
SchemaDirectiveWiring.onArgument(SchemaDirectiveWiringEnvironment<GraphQLArgument> environment)
This is called when an argument 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 GraphQLArgument |
SchemaDirectiveWiring.onArgument(SchemaDirectiveWiringEnvironment<GraphQLArgument> environment)
This is called when an argument 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 |
---|---|
GraphQLArgument |
ValidationContext.getArgument() |
GraphQLArgument |
TraversalContext.getArgument() |
Copyright © 2019. All rights reserved.