public class ResolutionEnvironment extends Object
| Modifier and Type | Field and Description |
|---|---|
Map<String,Object> |
arguments |
Object |
context |
graphql.schema.DataFetchingEnvironment |
dataFetchingEnvironment |
List<graphql.language.Field> |
fields |
graphql.schema.GraphQLOutputType |
fieldType |
GlobalEnvironment |
globalEnvironment |
graphql.schema.GraphQLSchema |
graphQLSchema |
graphql.schema.GraphQLType |
parentType |
Object |
rootContext |
ValueMapper |
valueMapper |
| Constructor and Description |
|---|
ResolutionEnvironment(graphql.schema.DataFetchingEnvironment env,
ValueMapper valueMapper,
GlobalEnvironment globalEnvironment,
ConverterRegistry converterRegistry) |
| Modifier and Type | Method and Description |
|---|---|
<T,S> S |
convertOutput(T output,
AnnotatedType type) |
Directives |
getDirectives() |
Directives |
getDirectives(graphql.execution.ExecutionStepInfo step) |
Object |
getInputValue(Object input,
OperationArgument argument) |
public final Object context
public final Object rootContext
public final ValueMapper valueMapper
public final GlobalEnvironment globalEnvironment
public final List<graphql.language.Field> fields
public final graphql.schema.GraphQLOutputType fieldType
public final graphql.schema.GraphQLType parentType
public final graphql.schema.GraphQLSchema graphQLSchema
public final graphql.schema.DataFetchingEnvironment dataFetchingEnvironment
public ResolutionEnvironment(graphql.schema.DataFetchingEnvironment env,
ValueMapper valueMapper,
GlobalEnvironment globalEnvironment,
ConverterRegistry converterRegistry)
public <T,S> S convertOutput(T output,
AnnotatedType type)
public Object getInputValue(Object input, OperationArgument argument)
public Directives getDirectives(graphql.execution.ExecutionStepInfo step)
public Directives getDirectives()
Copyright © 2016–2018. All rights reserved.