public class SchemaGeneratorHelper
extends java.lang.Object
Constructor and Description |
---|
SchemaGeneratorHelper() |
Modifier and Type | Method and Description |
---|---|
void |
addDeprecatedDirectiveDefinition(TypeDefinitionRegistry typeRegistry) |
java.lang.Object |
buildArrayValue(GraphQLType requiredType,
ArrayValue arrayValue) |
java.lang.String |
buildDeprecationReason(java.util.List<Directive> directives) |
java.lang.String |
buildDescription(Node<?> node,
Description description) |
GraphQLDirective |
buildDirective(Directive directive,
java.util.Set<GraphQLDirective> directiveDefinitions,
Introspection.DirectiveLocation directiveLocation,
GraphqlTypeComparatorRegistry comparatorRegistry) |
GraphQLDirective |
buildDirectiveFromDefinition(DirectiveDefinition directiveDefinition,
java.util.function.Function<Type,GraphQLInputType> inputTypeFactory) |
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 buildArrayValue(GraphQLType requiredType, ArrayValue arrayValue)
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 void addDeprecatedDirectiveDefinition(TypeDefinitionRegistry typeRegistry)
public GraphQLDirective buildDirective(Directive directive, java.util.Set<GraphQLDirective> directiveDefinitions, Introspection.DirectiveLocation directiveLocation, GraphqlTypeComparatorRegistry comparatorRegistry)
public GraphQLDirective buildDirectiveFromDefinition(DirectiveDefinition directiveDefinition, java.util.function.Function<Type,GraphQLInputType> inputTypeFactory)