Uses of Class
graphql.schema.GraphQLUnionType
-
Packages that use GraphQLUnionType Package Description graphql.execution graphql.schema graphql.schema.diffing graphql.schema.idl graphql.schema.impl graphql.schema.validation graphql.schema.visitor -
-
Uses of GraphQLUnionType in graphql.execution
Methods in graphql.execution with parameters of type GraphQLUnionType Modifier and Type Method Description GraphQLObjectType
ResolveType. resolveTypeForUnion(TypeResolutionEnvironment env, GraphQLUnionType abstractType)
-
Uses of GraphQLUnionType in graphql.schema
Methods in graphql.schema that return GraphQLUnionType Modifier and Type Method Description GraphQLUnionType
GraphQLUnionType.Builder. build()
GraphQLUnionType
GraphQLUnionType. transform(java.util.function.Consumer<GraphQLUnionType.Builder> builderConsumer)
This helps you transform the current GraphQLUnionType into another one by starting a builder with all the current values and allows you to transform it how you want.GraphQLUnionType
GraphQLUnionType. withNewChildren(SchemaElementChildrenContainer newChildren)
Constructors in graphql.schema with parameters of type GraphQLUnionType Constructor Description Builder(GraphQLUnionType existing)
-
Uses of GraphQLUnionType in graphql.schema.diffing
Methods in graphql.schema.diffing with parameters of type GraphQLUnionType Modifier and Type Method Description private void
SchemaGraphFactory. newUnion(GraphQLUnionType unionType, SchemaGraph schemaGraph, boolean isIntrospectionNode)
-
Uses of GraphQLUnionType in graphql.schema.idl
Methods in graphql.schema.idl that return GraphQLUnionType Modifier and Type Method Description (package private) GraphQLUnionType
SchemaGeneratorHelper. buildUnionType(SchemaGeneratorHelper.BuildContext buildCtx, UnionTypeDefinition typeDefinition)
default GraphQLUnionType
SchemaDirectiveWiring. onUnion(SchemaDirectiveWiringEnvironment<GraphQLUnionType> environment)
This is called when a union is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL elementGraphQLUnionType
SchemaGeneratorDirectiveHelper. onUnion(GraphQLUnionType element, SchemaGeneratorDirectiveHelper.Parameters params)
Methods in graphql.schema.idl that return types with arguments of type GraphQLUnionType Modifier and Type Method Description private SchemaPrinter.SchemaElementPrinter<GraphQLUnionType>
SchemaPrinter. unionPrinter()
Methods in graphql.schema.idl with parameters of type GraphQLUnionType Modifier and Type Method Description GraphQLUnionType
SchemaGeneratorDirectiveHelper. onUnion(GraphQLUnionType element, SchemaGeneratorDirectiveHelper.Parameters params)
TraversalControl
SchemaDirectiveWiringSchemaGeneratorPostProcessing.Visitor. visitGraphQLUnionType(GraphQLUnionType node, TraverserContext<GraphQLSchemaElement> context)
Method parameters in graphql.schema.idl with type arguments of type GraphQLUnionType Modifier and Type Method Description default GraphQLUnionType
SchemaDirectiveWiring. onUnion(SchemaDirectiveWiringEnvironment<GraphQLUnionType> environment)
This is called when a union is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element -
Uses of GraphQLUnionType in graphql.schema.impl
Methods in graphql.schema.impl with parameters of type GraphQLUnionType Modifier and Type Method Description TraversalControl
GraphQLTypeCollectingVisitor. visitGraphQLUnionType(GraphQLUnionType node, TraverserContext<GraphQLSchemaElement> context)
TraversalControl
MultiReadOnlyGraphQLTypeVisitor. visitGraphQLUnionType(GraphQLUnionType node, TraverserContext<GraphQLSchemaElement> context)
-
Uses of GraphQLUnionType in graphql.schema.validation
Methods in graphql.schema.validation with parameters of type GraphQLUnionType Modifier and Type Method Description (package private) boolean
TypesImplementInterfaces. objectIsMemberOfUnion(GraphQLUnionType unionType, GraphQLOutputType objectType)
private void
TypeAndFieldRule. validateUnion(GraphQLUnionType type, SchemaValidationErrorCollector errorCollector)
TraversalControl
TypeAndFieldRule. visitGraphQLUnionType(GraphQLUnionType type, TraverserContext<GraphQLSchemaElement> context)
-
Uses of GraphQLUnionType in graphql.schema.visitor
Methods in graphql.schema.visitor with parameters of type GraphQLUnionType Modifier and Type Method Description TraversalControl
GraphQLSchemaVisitorAdapter. visitGraphQLUnionType(GraphQLUnionType node, TraverserContext<GraphQLSchemaElement> context)
default GraphQLSchemaTraversalControl
GraphQLSchemaVisitor. visitUnionType(GraphQLUnionType unionType, GraphQLSchemaVisitor.UnionTypeVisitorEnvironment environment)
Called when visiting aGraphQLUnionType
in the schema
-