Class OperationDirectivesResolver
java.lang.Object
graphql.execution.directives.OperationDirectivesResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableMap<OperationDefinition, com.google.common.collect.ImmutableList<QueryAppliedDirective>> resolveDirectives(Document document, GraphQLSchema schema, CoercedVariables variables, GraphQLContext graphQLContext, Locale locale) com.google.common.collect.ImmutableList<QueryAppliedDirective> resolveDirectives(OperationDefinition operationDefinition, GraphQLSchema schema, CoercedVariables variables, GraphQLContext graphQLContext, Locale locale) com.google.common.collect.ImmutableMap<String, com.google.common.collect.ImmutableList<QueryAppliedDirective>> resolveDirectivesByName(OperationDefinition operationDefinition, GraphQLSchema schema, CoercedVariables variables, GraphQLContext graphQLContext, Locale locale) static com.google.common.collect.ImmutableMap<String, com.google.common.collect.ImmutableList<QueryAppliedDirective>> toAppliedDirectivesByName(List<QueryAppliedDirective> queryAppliedDirectives)
-
Constructor Details
-
OperationDirectivesResolver
public OperationDirectivesResolver()
-
-
Method Details
-
resolveDirectives
public com.google.common.collect.ImmutableMap<OperationDefinition, com.google.common.collect.ImmutableList<QueryAppliedDirective>> resolveDirectives(Document document, GraphQLSchema schema, CoercedVariables variables, GraphQLContext graphQLContext, Locale locale) -
resolveDirectives
public com.google.common.collect.ImmutableList<QueryAppliedDirective> resolveDirectives(OperationDefinition operationDefinition, GraphQLSchema schema, CoercedVariables variables, GraphQLContext graphQLContext, Locale locale) -
resolveDirectivesByName
public com.google.common.collect.ImmutableMap<String, com.google.common.collect.ImmutableList<QueryAppliedDirective>> resolveDirectivesByName(OperationDefinition operationDefinition, GraphQLSchema schema, CoercedVariables variables, GraphQLContext graphQLContext, Locale locale) -
toAppliedDirectivesByName
public static com.google.common.collect.ImmutableMap<String, com.google.common.collect.ImmutableList<QueryAppliedDirective>> toAppliedDirectivesByName(List<QueryAppliedDirective> queryAppliedDirectives)
-