public class FetchSchemaDirectiveWiring extends Object implements SchemaDirectiveWiring
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 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 SchemaDirectiveWiring
environment
- the wiring elementCopyright © 2019. All rights reserved.