@PublicSpi public interface TypeResolver
GraphQLObjectType
should be used
dynamically during runtime for GraphQLInterfaceType
s and GraphQLUnionType
sModifier and Type | Method and Description |
---|---|
GraphQLObjectType |
getType(TypeResolutionEnvironment env)
This call back is invoked passing in a context object to allow you to know what type to use
dynamically during runtime for
GraphQLInterfaceType s and GraphQLUnionType s |
GraphQLObjectType getType(TypeResolutionEnvironment env)
GraphQLInterfaceType
s and GraphQLUnionType
senv
- the runtime environment