public class GraphQLDirective
A directive can be used to modify the behavior of a graphql field or type.
See http://graphql.org/learn/queries/#directives for more details on the concept.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public GraphQLDirective(java.lang.String name,
public GraphQLDirective transform(java.util.function.Consumer<GraphQLDirective.Builder> builderConsumer)
This helps you transform the current GraphQLDirective into another one by starting a builder with all
the current values and allows you to transform it how you want.
builderConsumer - the consumer code that will be given a builder to transform
- a new field based on calling build on that builder