public class TypeResolverProxy extends java.lang.Object implements TypeResolver
Constructor and Description |
---|
TypeResolverProxy() |
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
GraphQLInterfaceType s and GraphQLUnionType s |
TypeResolver |
getTypeResolver() |
void |
setTypeResolver(TypeResolver typeResolver) |
public TypeResolver getTypeResolver()
public void setTypeResolver(TypeResolver typeResolver)
public GraphQLObjectType getType(TypeResolutionEnvironment env)
TypeResolver
GraphQLInterfaceType
s and GraphQLUnionType
sgetType
in interface TypeResolver
env
- the runtime environment