Class GraphQLEnvironmentParameterResolver
java.lang.Object
se.l4.graphql.binding.internal.parameters.GraphQLEnvironmentParameterResolver
- All Implemented Interfaces:
GraphQLParameterResolver<GraphQLEnvironment>
,GraphQLResolver
public class GraphQLEnvironmentParameterResolver extends Object implements GraphQLParameterResolver<GraphQLEnvironment>
Resolver for parameters annotated with
GraphQLEnvironment
.-
Constructor Summary
Constructors Constructor Description GraphQLEnvironmentParameterResolver()
-
Method Summary
Modifier and Type Method Description DataFetchingSupplier<?>
resolveParameter(GraphQLParameterEncounter<GraphQLEnvironment> encounter)
Resolve the parameter returning a supplier.
-
Constructor Details
-
GraphQLEnvironmentParameterResolver
public GraphQLEnvironmentParameterResolver()
-
-
Method Details
-
resolveParameter
public DataFetchingSupplier<?> resolveParameter(GraphQLParameterEncounter<GraphQLEnvironment> encounter)Description copied from interface:GraphQLParameterResolver
Resolve the parameter returning a supplier. This must return a supplier or throw an exception.- Specified by:
resolveParameter
in interfaceGraphQLParameterResolver<GraphQLEnvironment>
- Returns:
-