Package graphql.execution.conditional
Class ConditionalNodes
java.lang.Object
graphql.execution.conditional.ConditionalNodes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsSkipOrIncludeDirective
(DirectivesContainer<?> directivesContainer) getIncludeVariableName
(DirectivesContainer<?> directivesContainer) getSkipVariableName
(DirectivesContainer<?> directivesContainer) boolean
shouldInclude
(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
-