public class SchemaGeneratorHelper
extends java.lang.Object
Constructor and Description |
---|
SchemaGeneratorHelper() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildDeprecationReason(java.util.List<Directive> directives) |
java.lang.String |
buildDescription(Node<?> node,
Description description) |
GraphQLDirective |
buildDirective(Directive directive,
Introspection.DirectiveLocation directiveLocation) |
GraphQLInputType |
buildDirectiveInputType(Value value)
We support the basic types as directive types
|
java.lang.Object |
buildObjectValue(ObjectValue defaultValue,
GraphQLInputObjectType objectType) |
java.lang.Object |
buildValue(Value value,
GraphQLType requiredType) |
public java.lang.Object buildValue(Value value, GraphQLType requiredType)
public java.lang.Object buildObjectValue(ObjectValue defaultValue, GraphQLInputObjectType objectType)
public java.lang.String buildDescription(Node<?> node, Description description)
public java.lang.String buildDeprecationReason(java.util.List<Directive> directives)
public GraphQLInputType buildDirectiveInputType(Value value)
value
- the value to usepublic GraphQLDirective buildDirective(Directive directive, Introspection.DirectiveLocation directiveLocation)