-
- All Implemented Interfaces:
public class SchemaBuilder.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static SchemaBuilder.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final GraphQLSchemabuildSchema(String sdl, SchemaConfig config, DataFetchingInterceptor dataFetchingInterceptor)final GraphQLSchemabuildSchema(String sdl, SchemaConfig config)final GraphQLSchemabuildSchema(String sdl)final GraphQLSchemabuildSchema(TypeDefinitionRegistry typeDefinitionRegistry, SchemaConfig config, DataFetchingInterceptor dataFetchingInterceptor)final GraphQLSchemabuildSchema(TypeDefinitionRegistry typeDefinitionRegistry, SchemaConfig config)final GraphQLSchemabuildSchema(TypeDefinitionRegistry typeDefinitionRegistry)-
-
Method Detail
-
buildSchema
@JvmOverloads() final GraphQLSchema buildSchema(String sdl, SchemaConfig config, DataFetchingInterceptor dataFetchingInterceptor)
- Parameters:
sdl- the schema to augmentconfig- defines how the schema should get augmenteddataFetchingInterceptor- since this library registers dataFetcher for its augmented methods, these data fetchers may be called by other resolver.
-
buildSchema
@JvmOverloads() final GraphQLSchema buildSchema(String sdl, SchemaConfig config)
- Parameters:
sdl- the schema to augmentconfig- defines how the schema should get augmented
-
buildSchema
@JvmOverloads() final GraphQLSchema buildSchema(String sdl)
- Parameters:
sdl- the schema to augment
-
buildSchema
@JvmOverloads() final GraphQLSchema buildSchema(TypeDefinitionRegistry typeDefinitionRegistry, SchemaConfig config, DataFetchingInterceptor dataFetchingInterceptor)
- Parameters:
typeDefinitionRegistry- a registry containing all the types, that should be augmentedconfig- defines how the schema should get augmenteddataFetchingInterceptor- since this library registers dataFetcher for its augmented methods, these data fetchers may be called by other resolver.
-
buildSchema
@JvmOverloads() final GraphQLSchema buildSchema(TypeDefinitionRegistry typeDefinitionRegistry, SchemaConfig config)
- Parameters:
typeDefinitionRegistry- a registry containing all the types, that should be augmentedconfig- defines how the schema should get augmented
-
buildSchema
@JvmOverloads() final GraphQLSchema buildSchema(TypeDefinitionRegistry typeDefinitionRegistry)
- Parameters:
typeDefinitionRegistry- a registry containing all the types, that should be augmented
-
-
-
-