Package io.leangen.graphql.annotations
Annotation Type GraphQLEnvironment
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface GraphQLEnvironment
Marks a parameter representing a value injected from the current execution environment. Currently, the annotated parameter is allowed to be of the following types:Set<String>- Injects the list of names of requested direct sub-fieldsField- Injects the ASTFieldcurrently being resolvedList<Field>- Injects all the ASTFields on the current levelValueMapper- Injects aValueMapperappropriate for the current resolverResolutionEnvironment- Injects the entireResolutionEnvironment