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