Package io.jmix.graphql.spqr
Class BaseSpqrSchemaGenerator.CodeRegistryMerger
java.lang.Object
io.jmix.graphql.spqr.BaseSpqrSchemaGenerator.CodeRegistryMerger
- All Implemented Interfaces:
BaseSpqrSchemaGenerator.CodeRegistryBuilder
- Enclosing class:
- BaseSpqrSchemaGenerator
protected static class BaseSpqrSchemaGenerator.CodeRegistryMerger
extends Object
implements BaseSpqrSchemaGenerator.CodeRegistryBuilder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongraphql.schema.DataFetcher<?>
getDataFetcher
(graphql.schema.GraphQLFieldsContainer parentType, graphql.schema.GraphQLFieldDefinition fieldDef) graphql.schema.TypeResolver
getTypeResolver
(graphql.schema.GraphQLInterfaceType interfaceType) graphql.schema.TypeResolver
getTypeResolver
(graphql.schema.GraphQLUnionType unionType)
-
Field Details
-
codeRegistry
protected final graphql.schema.GraphQLCodeRegistry codeRegistry
-
-
Constructor Details
-
CodeRegistryMerger
public CodeRegistryMerger(graphql.schema.GraphQLCodeRegistry codeRegistry)
-
-
Method Details
-
getTypeResolver
public graphql.schema.TypeResolver getTypeResolver(graphql.schema.GraphQLInterfaceType interfaceType) - Specified by:
getTypeResolver
in interfaceBaseSpqrSchemaGenerator.CodeRegistryBuilder
-
getTypeResolver
public graphql.schema.TypeResolver getTypeResolver(graphql.schema.GraphQLUnionType unionType) - Specified by:
getTypeResolver
in interfaceBaseSpqrSchemaGenerator.CodeRegistryBuilder
-
getDataFetcher
public graphql.schema.DataFetcher<?> getDataFetcher(graphql.schema.GraphQLFieldsContainer parentType, graphql.schema.GraphQLFieldDefinition fieldDef) - Specified by:
getDataFetcher
in interfaceBaseSpqrSchemaGenerator.CodeRegistryBuilder
-