Uses of Class
graphql.schema.GraphQLUnionType.Builder
Packages that use GraphQLUnionType.Builder
-
Uses of GraphQLUnionType.Builder in graphql.schema
Methods in graphql.schema that return GraphQLUnionType.BuilderModifier and TypeMethodDescriptionGraphQLUnionType.Builder.clearDirectives()GraphQLUnionType.Builder.clearPossibleTypes()This is used to clear all the types in the builder so far.GraphQLUnionType.Builder.definition(UnionTypeDefinition definition) GraphQLUnionType.Builder.description(String description) GraphQLUnionType.Builder.extensionDefinitions(List<UnionTypeExtensionDefinition> extensionDefinitions) static GraphQLUnionType.BuilderGraphQLUnionType.newUnionType()static GraphQLUnionType.BuilderGraphQLUnionType.newUnionType(GraphQLUnionType existing) GraphQLUnionType.Builder.possibleType(GraphQLObjectType type) GraphQLUnionType.Builder.possibleType(GraphQLTypeReference reference) GraphQLUnionType.Builder.possibleTypes(GraphQLObjectType... type) GraphQLUnionType.Builder.possibleTypes(GraphQLTypeReference... references) GraphQLUnionType.Builder.replaceDirectives(List<GraphQLDirective> directives) GraphQLUnionType.Builder.replacePossibleTypes(List<? extends GraphQLNamedOutputType> types) GraphQLUnionType.Builder.typeResolver(TypeResolver typeResolver) Deprecated.GraphQLUnionType.Builder.withDirective(GraphQLDirective directive) GraphQLUnionType.Builder.withDirective(GraphQLDirective.Builder builder) GraphQLUnionType.Builder.withDirectives(GraphQLDirective... directives) Methods in graphql.schema with parameters of type GraphQLUnionType.BuilderModifier and TypeMethodDescriptionGraphQLFieldDefinition.Builder.type(GraphQLUnionType.Builder builder) Method parameters in graphql.schema with type arguments of type GraphQLUnionType.BuilderModifier and TypeMethodDescriptionGraphQLUnionType.transform(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.
GraphQLCodeRegistry.Builder.typeResolver(GraphQLUnionType, TypeResolver)instead