@PublicSpi public interface TypeResolver
GraphQLObjectType should be used
dynamically during runtime for GraphQLInterfaceTypes and GraphQLUnionTypes| Modifier 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
GraphQLInterfaceTypes and GraphQLUnionTypes |
GraphQLObjectType getType(TypeResolutionEnvironment env)
GraphQLInterfaceTypes and GraphQLUnionTypesenv - the runtime environment