Package graphql.execution.conditional
Class ConditionalNodes
java.lang.Object
graphql.execution.conditional.ConditionalNodes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
customShouldInclude
(Map<String, Object> variables, DirectivesContainer<?> element, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext, ConditionalNodeDecision conditionalDecision) private boolean
getDirectiveResult
(Map<String, Object> variables, List<Directive> directives, String directiveName, boolean defaultValue) boolean
shouldInclude
(DirectivesContainer<?> element, Map<String, Object> variables, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext) private boolean
-
Constructor Details
-
ConditionalNodes
public ConditionalNodes()
-
-
Method Details
-
shouldInclude
public boolean shouldInclude(DirectivesContainer<?> element, Map<String, Object> variables, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext) -
customShouldInclude
private boolean customShouldInclude(Map<String, Object> variables, DirectivesContainer<?> element, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext, ConditionalNodeDecision conditionalDecision) -
shouldInclude
-
getDirectiveResult
-