public class SchemaGeneratorDirectiveHelper extends Object
SchemaDirectiveWiring implementations
to be invoked during schema generation.| Modifier and Type | Class and Description |
|---|---|
static class |
SchemaGeneratorDirectiveHelper.Parameters |
| Constructor and Description |
|---|
SchemaGeneratorDirectiveHelper() |
| Modifier and Type | Method and Description |
|---|---|
graphql.schema.GraphQLEnumType |
onEnum(graphql.schema.GraphQLEnumType enumType,
SchemaGeneratorDirectiveHelper.Parameters params) |
graphql.schema.GraphQLInputObjectType |
onInputObjectType(graphql.schema.GraphQLInputObjectType inputObjectType,
SchemaGeneratorDirectiveHelper.Parameters params) |
graphql.schema.GraphQLInterfaceType |
onInterface(graphql.schema.GraphQLInterfaceType interfaceType,
SchemaGeneratorDirectiveHelper.Parameters params) |
graphql.schema.GraphQLObjectType |
onObject(graphql.schema.GraphQLObjectType objectType,
SchemaGeneratorDirectiveHelper.Parameters params) |
graphql.schema.GraphQLScalarType |
onScalar(graphql.schema.GraphQLScalarType element,
SchemaGeneratorDirectiveHelper.Parameters params) |
graphql.schema.GraphQLUnionType |
onUnion(graphql.schema.GraphQLUnionType element,
SchemaGeneratorDirectiveHelper.Parameters params) |
static <T extends graphql.schema.GraphQLDirectiveContainer> |
schemaDirectiveWiringIsRequired(T directiveContainer,
graphql.schema.idl.TypeDefinitionRegistry typeRegistry,
graphql.schema.idl.RuntimeWiring runtimeWiring)
This will return true if something in the RuntimeWiring requires a
SchemaDirectiveWiring. |
public static <T extends graphql.schema.GraphQLDirectiveContainer> boolean schemaDirectiveWiringIsRequired(T directiveContainer,
graphql.schema.idl.TypeDefinitionRegistry typeRegistry,
graphql.schema.idl.RuntimeWiring runtimeWiring)
SchemaDirectiveWiring. This is to allow
a shortcut to decide that that we dont need ANY SchemaDirectiveWiring post processingT - for twodirectiveContainer - the element that has directivestypeRegistry - the type registryruntimeWiring - the runtime wiringSchemaDirectiveWiringpublic graphql.schema.GraphQLObjectType onObject(graphql.schema.GraphQLObjectType objectType,
SchemaGeneratorDirectiveHelper.Parameters params)
public graphql.schema.GraphQLInterfaceType onInterface(graphql.schema.GraphQLInterfaceType interfaceType,
SchemaGeneratorDirectiveHelper.Parameters params)
public graphql.schema.GraphQLEnumType onEnum(graphql.schema.GraphQLEnumType enumType,
SchemaGeneratorDirectiveHelper.Parameters params)
public graphql.schema.GraphQLInputObjectType onInputObjectType(graphql.schema.GraphQLInputObjectType inputObjectType,
SchemaGeneratorDirectiveHelper.Parameters params)
public graphql.schema.GraphQLUnionType onUnion(graphql.schema.GraphQLUnionType element,
SchemaGeneratorDirectiveHelper.Parameters params)
public graphql.schema.GraphQLScalarType onScalar(graphql.schema.GraphQLScalarType element,
SchemaGeneratorDirectiveHelper.Parameters params)
Copyright © 2022. All rights reserved.