Uses of Interface
org.springframework.graphql.execution.SchemaMappingInspector.Initializer
Packages that use SchemaMappingInspector.Initializer
Package
Description
Support for GraphQL request execution, including abstractions to configure and invoke
GraphQL.-
Uses of SchemaMappingInspector.Initializer in org.springframework.graphql.execution
Methods in org.springframework.graphql.execution that return SchemaMappingInspector.InitializerModifier and TypeMethodDescriptionSchemaMappingInspector.Initializer.classMapping(String graphQlTypeName, Class<?>... aClass) Provide an explicit mapping between a GraphQL type name and the Java class(es) that represent it at runtime to help inspect union member and interface implementation types when those associations cannot be discovered otherwise.SchemaMappingInspector.Initializer.classNameFunction(Function<graphql.schema.GraphQLObjectType, String> function) Help to derive thesimple class namefor the Java representation of a GraphQL union member or interface implementing type.SchemaMappingInspector.Initializer.classResolver(SchemaMappingInspector.ClassResolver resolver) Alternative toclassMapping(String, Class[])with a customSchemaMappingInspector.ClassResolverto find the Java class(es) for a GraphQL union member or interface implementation type.SchemaMappingInspector.initializer()Return an initializer to configure theSchemaMappingInspectorand perform the inspection.Method parameters in org.springframework.graphql.execution with type arguments of type SchemaMappingInspector.InitializerModifier and TypeMethodDescriptionGraphQlSource.SchemaResourceBuilder.inspectSchemaMappings(Consumer<SchemaMappingInspector.Initializer> initializerConsumer, Consumer<SchemaReport> reportConsumer) Variant ofGraphQlSource.SchemaResourceBuilder.inspectSchemaMappings(Consumer)with the option to initialize theSchemaMappingInspector, e.g.