Uses of Interface
org.springframework.graphql.execution.GraphQlSource.SchemaResourceBuilder
Packages that use GraphQlSource.SchemaResourceBuilder
Package
Description
Support for GraphQL request execution, including abstractions to configure and invoke
GraphQL.-
Uses of GraphQlSource.SchemaResourceBuilder in org.springframework.graphql.execution
Subinterfaces with type arguments of type GraphQlSource.SchemaResourceBuilder in org.springframework.graphql.executionModifier and TypeInterfaceDescriptionstatic interfaceGraphQlSourcebuilder that relies on parsing schema definition files and uses aRuntimeWiringto create the underlyingGraphQLSchema.Methods in org.springframework.graphql.execution that return GraphQlSource.SchemaResourceBuilderModifier and TypeMethodDescriptionGraphQlSource.SchemaResourceBuilder.configureRuntimeWiring(RuntimeWiringConfigurer configurer) Configure the underlyingRuntimeWiring.Builderto register data fetchers, custom scalar types, type resolvers, and more.GraphQlSource.SchemaResourceBuilder.configureTypeDefinitions(TypeDefinitionConfigurer configurer) Customize theTypeDefinitionRegistrycreated from parsed schema files, adding or changing schema type definitions before theGraphQLSchemais created and validated.GraphQlSource.SchemaResourceBuilder.defaultTypeResolver(graphql.schema.TypeResolver typeResolver) Configure the defaultTypeResolverto use for GraphQL interface and union types that don't have such a registration afterapplyingRuntimeWiringConfigurers.GraphQlSource.SchemaResourceBuilder.inspectSchemaMappings(Consumer<SchemaMappingInspector.Initializer> initializerConsumer, Consumer<SchemaReport> reportConsumer) Variant ofinspectSchemaMappings(Consumer)with the option to initialize theSchemaMappingInspector, e.g.GraphQlSource.SchemaResourceBuilder.inspectSchemaMappings(Consumer<SchemaReport> reportConsumer) Enable inspection of schema mappings to find unmapped fields and unmappedDataFetcherregistrations.GraphQlSource.SchemaResourceBuilder.schemaFactory(BiFunction<graphql.schema.idl.TypeDefinitionRegistry, graphql.schema.idl.RuntimeWiring, graphql.schema.GraphQLSchema> schemaFactory) Configure a function to create theGraphQLSchemafrom the givenTypeDefinitionRegistryandRuntimeWiring.GraphQlSource.schemaResourceBuilder()Return aGraphQlSourcebuilder that parses GraphQL Schema resources and usesRuntimeWiringto create theGraphQLSchema.GraphQlSource.SchemaResourceBuilder.schemaResources(Resource... resources) Add schema definition resources, typically ".graphqls" files, to beparsedandmerged.