Uses of Class
graphql.schema.idl.TypeRuntimeWiring.Builder
Packages that use TypeRuntimeWiring.Builder
-
Uses of TypeRuntimeWiring.Builder in graphql.schema.idl
Methods in graphql.schema.idl that return TypeRuntimeWiring.BuilderModifier and TypeMethodDescriptionTypeRuntimeWiring.Builder.dataFetcher
(String fieldName, DataFetcher dataFetcher) Adds a data fetcher for the current type to the specified fieldTypeRuntimeWiring.Builder.dataFetchers
(Map<String, DataFetcher> dataFetchersMap) Adds data fetchers for the current type to the specified fieldTypeRuntimeWiring.Builder.defaultDataFetcher
(DataFetcher dataFetcher) All fields in a type need a data fetcher of some sort and this method is called to provide the default data fetcher that will be used for this type if no specific one has been provided per field.TypeRuntimeWiring.Builder.enumValues
(EnumValuesProvider enumValuesProvider) static TypeRuntimeWiring.Builder
TypeRuntimeWiring.newTypeWiring
(String typeName) Creates a new type wiring builderSets the type name for this type wiring.TypeRuntimeWiring.Builder.typeResolver
(TypeResolver typeResolver) Adds aTypeResolver
to the current type.Methods in graphql.schema.idl with parameters of type TypeRuntimeWiring.BuilderModifier and TypeMethodDescriptionRuntimeWiring.Builder.type
(TypeRuntimeWiring.Builder builder) This allows you to add a new type wiring via a builderMethod parameters in graphql.schema.idl with type arguments of type TypeRuntimeWiring.BuilderModifier and TypeMethodDescriptionstatic TypeRuntimeWiring
TypeRuntimeWiring.newTypeWiring
(String typeName, UnaryOperator<TypeRuntimeWiring.Builder> builderFunction) This form allows a lambda to be used as the builderRuntimeWiring.Builder.type
(String typeName, UnaryOperator<TypeRuntimeWiring.Builder> builderFunction) This form allows a lambda to be used as the builder of a type wiring