Package graphql.analysis.values
Interface ValueVisitor.InputElements
-
- Enclosing interface:
- ValueVisitor
public static interface ValueVisitor.InputElements
Represents the elements that leads to a value and type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<GraphQLInputSchemaElement>
getInputElements()
GraphQLInputValueDefinition
getLastInputValueDefinition()
This is the lastGraphQLInputValueDefinition
that pointed to the value during a callback.java.util.List<GraphQLInputSchemaElement>
getUnwrappedInputElements()
This is the list of input schema elements that are unwrapped, e.g.
-
-
-
Method Detail
-
getInputElements
java.util.List<GraphQLInputSchemaElement> getInputElements()
- Returns:
- then list of input schema elements that lead to an input value.
-
getUnwrappedInputElements
java.util.List<GraphQLInputSchemaElement> getUnwrappedInputElements()
This is the list of input schema elements that are unwrapped, e.g.GraphQLList
andGraphQLNonNull
types have been removed- Returns:
- then list of
GraphQLInputValueDefinition
elements that lead to an input value.
-
getLastInputValueDefinition
GraphQLInputValueDefinition getLastInputValueDefinition()
This is the lastGraphQLInputValueDefinition
that pointed to the value during a callback. This will be either aGraphQLArgument
or aGraphQLInputObjectField
- Returns:
- the last
GraphQLInputValueDefinition
that contains this value
-
-