Package graphql.execution.conditional
Class ConditionalNodes
java.lang.Object
graphql.execution.conditional.ConditionalNodes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsSkipOrIncludeDirective(DirectivesContainer<?> directivesContainer) getIncludeVariableName(DirectivesContainer<?> directivesContainer) getSkipVariableName(DirectivesContainer<?> directivesContainer) booleanshouldInclude(DirectivesContainer<?> element, Map<String, Object> variables, GraphQLSchema graphQLSchema, @Nullable GraphQLContext graphQLContext) shouldIncludeWithoutVariables(DirectivesContainer<?> element) return null if skip/include argument contains a variable and therefore could not be resolved
-
Constructor Details
-
ConditionalNodes
public ConditionalNodes()
-
-
Method Details
-
shouldIncludeWithoutVariables
return null if skip/include argument contains a variable and therefore could not be resolved -
shouldInclude
public boolean shouldInclude(DirectivesContainer<?> element, Map<String, Object> variables, GraphQLSchema graphQLSchema, @Nullable GraphQLContext graphQLContext) -
containsSkipOrIncludeDirective
-
getSkipVariableName
-
getIncludeVariableName
-