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, wait
onArgument, onEnum, onEnumValue, onInputObjectField, onInputObjectType, onInterface, onObject, onScalar, onUnion
public static final java.lang.String FETCH
public GraphQLFieldDefinition onField(SchemaDirectiveWiringEnvironment<GraphQLFieldDefinition> environment)
SchemaDirectiveWiring
onField
in interface SchemaDirectiveWiring
environment
- the wiring element