| Package | Description |
|---|---|
| io.leangen.graphql | |
| io.leangen.graphql.module |
| Modifier and Type | Method and Description |
|---|---|
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withAbstractInputHandler(AbstractInputHandler abstractInputHandler) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withAbstractInputTypeResolution() |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withAdditionalDirectives(AnnotatedType... additionalDirectives) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withAdditionalDirectives(graphql.schema.GraphQLDirective... additionalDirectives) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withAdditionalDirectives(Type... additionalDirectives) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withAdditionalTypes(Collection<graphql.schema.GraphQLType> additionalTypes) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withArgumentInjectors(ArgumentInjector... argumentInjectors) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withArgumentInjectors(ExtensionProvider<GeneratorConfiguration,ArgumentInjector> provider) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withBasePackages(String... basePackages) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withDirectiveBuilder(DirectiveBuilder directiveBuilder) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withImplementationDiscoveryStrategy(ImplementationDiscoveryStrategy implDiscoveryStrategy) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withInclusionStrategy(InclusionStrategy inclusionStrategy) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withInputConverters(ExtensionProvider<GeneratorConfiguration,InputConverter> provider) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withInputConverters(InputConverter<?,?>... inputConverters)
Registers custom
InputConverters to be used for converting values provided by the GraphQL client
into those expected by the corresponding Java method. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withInputConvertersPrepended(InputConverter<?,?>... inputConverters) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withInputFieldBuilders(ExtensionProvider<ExtendedGeneratorConfiguration,InputFieldBuilder> provider) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withInputFieldBuilders(InputFieldBuilder... inputFieldBuilders) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withInterfaceMappingStrategy(InterfaceMappingStrategy interfaceStrategy) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withJavaDeprecationReason(String deprecationReason) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withJavaDeprecationRespected(boolean respectJavaDeprecation) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withModules(ExtensionProvider<GeneratorConfiguration,Module> provider) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withModules(Module... modules) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withNestedOperationsFromTypes(AnnotatedType... types)
The same as
withNestedOperationsFromTypes(Type...) except that an AnnotatedType is used,
so any extra annotations on the type (not only those directly on the class) are kept. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withNestedOperationsFromTypes(Type... types)
Register a type to be scanned for exposed methods, using the globally registered builders.
|
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withNestedResolverBuilders(ExtensionProvider<GeneratorConfiguration,ResolverBuilder> provider) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withNestedResolverBuilders(ResolverBuilder... resolverBuilders)
Globally registers
ResolverBuilders to be used for sources that don't have explicitly assigned builders. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withNestedResolverBuildersForType(AnnotatedType querySourceType,
ResolverBuilder... resolverBuilders)
Same as
withNestedResolverBuildersForType(Type, ResolverBuilder...) except that an AnnotatedType is used
so any extra annotations on the type (not only those directly on the class) are kept. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withNestedResolverBuildersForType(Type querySourceType,
ResolverBuilder... resolverBuilders)
Register
querySourceType type to be scanned for exposed methods, using the provided ResolverBuilders. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOperationBuilder(OperationBuilder operationBuilder) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOperationsFromSingleton(Object serviceSingleton)
Register
serviceSingleton as a singleton OperationSource,
with its class (obtained via Object.getClass()) as its runtime type and with the globally registered
ResolverBuilders. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOperationsFromSingleton(Object serviceSingleton,
AnnotatedType beanType)
Same as
withOperationsFromSingleton(Object, Type), except that an AnnotatedType is used as
serviceSingleton's runtime type. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOperationsFromSingleton(Object serviceSingleton,
AnnotatedType beanType,
ResolverBuilder... builders)
Same as
withOperationsFromSingleton(Object, AnnotatedType) except that custom ResolverBuilders will be used
to look through beanType for methods to be exposed. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOperationsFromSingleton(Object serviceSingleton,
ResolverBuilder... builders)
Same as
withOperationsFromSingleton(Object) except that custom ResolverBuilders will be used
to look through beanType for methods to be exposed. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOperationsFromSingleton(Object serviceSingleton,
Type beanType)
Register
serviceSingleton as a singleton OperationSource,
with beanType as its runtime type and with the globally registered ResolverBuilders. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOperationsFromSingleton(Object serviceSingleton,
Type beanType,
ResolverBuilder... builders)
Same as
withOperationsFromSingleton(Object, Type) except that custom ResolverBuilders will be used
to look through beanType for methods to be exposed. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOperationsFromSingletons(Object... serviceSingletons)
Same as
withOperationsFromSingleton(Object) except that multiple beans can be registered at the same time. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOperationsFromType(AnnotatedType serviceType) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOperationsFromType(AnnotatedType serviceType,
ResolverBuilder... builders) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOperationsFromType(Type serviceType) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOperationsFromType(Type serviceType,
ResolverBuilder... builders) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOperationsFromTypes(AnnotatedType... serviceType) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOperationsFromTypes(Type... serviceType) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOutputConverters(ExtensionProvider<GeneratorConfiguration,OutputConverter> provider) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOutputConverters(OutputConverter<?,?>... outputConverters)
Registers custom
OutputConverters to be used for converting values returned by the exposed Java method
into those expected by the GraphQL client. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withOutputConvertersPrepended(OutputConverter<?,?>... outputConverters) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withRelayCompliantMutations()
Sets a flag that all mutations should be mapped in a Relay-compliant way,
using the default name and description for output wrapper fields.
|
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withRelayCompliantMutations(String wrapperFieldName,
String wrapperFieldDescription)
Sets a flag signifying that all mutations should be mapped in a Relay-compliant way,
using the default name and description for output wrapper fields.
|
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withRelayConnectionCheckRelaxed()
Removes the requirement on queries returning a Connection to comply with the Relay Connection spec
|
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withRelayNodeInterfaceInference(boolean enabled)
Sets the flag controlling whether the Node interface (as defined by the Relay spec) should be automatically
inferred for types that have an ID field.
|
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withResolverBuilders(ExtensionProvider<GeneratorConfiguration,ResolverBuilder> provider) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withResolverBuilders(ResolverBuilder... resolverBuilders)
Globally registers
ResolverBuilders to be used for sources that don't have explicitly assigned builders. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withResolverInterceptorFactories(ExtensionProvider<GeneratorConfiguration,ResolverInterceptorFactory> provider) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withResolverInterceptors(ResolverInterceptor... interceptors) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withScalarDeserializationStrategy(ScalarDeserializationStrategy scalarStrategy) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withSchemaProcessors(GraphQLSchemaProcessor... processors)
Registers custom schema processors that can perform arbitrary transformations on the schema just before it is built.
|
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withSchemaTransformers(ExtensionProvider<GeneratorConfiguration,SchemaTransformer> provider) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withSchemaTransformers(SchemaTransformer... transformers) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withStringInterpolation(MessageBundle... messageBundles) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withTypeAdapters(AbstractTypeAdapter<?,?>... typeAdapters)
Type adapters (instances of
AbstractTypeAdapter) are both type mappers and bi-directional converters,
implementing TypeMapper, InputConverter and OutputConverter. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withTypeComparator(Comparator<AnnotatedType> comparator) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withTypeInfoGenerator(TypeInfoGenerator typeInfoGenerator) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withTypeMappers(ExtensionProvider<GeneratorConfiguration,TypeMapper> provider)
Registers custom
TypeMappers to be used for mapping Java type to GraphQL types. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withTypeMappers(TypeMapper... typeMappers)
Registers custom
TypeMappers to be used for mapping Java type to GraphQL types. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withTypeMappersPrepended(TypeMapper... typeMappers) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withTypeSynonymGroup(AnnotatedType... synonyms) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withTypeSynonymGroup(Type... synonyms) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withTypeTransformer(TypeTransformer transformer) |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withValueMapperFactory(ValueMapperFactory valueMapperFactory) |
| Modifier and Type | Method and Description |
|---|---|
GraphQLSchemaGenerator |
Module.SetupContext.getSchemaGenerator() |
Copyright © 2016–2018. All rights reserved.