public class ResolutionEnvironment extends Object
| Modifier and Type | Field and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertInput(Object input,
AnnotatedType type) |
Object |
convertOutput(Object output,
AnnotatedType type) |
Object |
getInputValue(Object input,
AnnotatedType type) |
AnnotatedType |
getMappableType(AnnotatedType type) |
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)
public Object convertOutput(Object output, AnnotatedType type)
public Object convertInput(Object input, AnnotatedType type)
public Object getInputValue(Object input, AnnotatedType type)
public AnnotatedType getMappableType(AnnotatedType type)
Copyright © 2016–2017. All rights reserved.