public class FetchSchemaDirectiveWiring extends java.lang.Object implements SchemaDirectiveWiring
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FETCH |
| Constructor and Description |
|---|
FetchSchemaDirectiveWiring() |
| Modifier and Type | Method and Description |
|---|---|
GraphQLFieldDefinition |
onField(SchemaDirectiveWiringEnvironment<GraphQLFieldDefinition> environment)
This is called when a field is encountered, which gives the schema directive a chance to modify the shape and behaviour
of that DSL element
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonArgument, onEnum, onEnumValue, onInputObjectField, onInputObjectType, onInterface, onObject, onScalar, onUnionpublic static final java.lang.String FETCH
public GraphQLFieldDefinition onField(SchemaDirectiveWiringEnvironment<GraphQLFieldDefinition> environment)
SchemaDirectiveWiring
The SchemaDirectiveWiring.onArgument(SchemaDirectiveWiringEnvironment) callbacks will have been
invoked for this element beforehand
onField in interface SchemaDirectiveWiringenvironment - the wiring element