Package graphql.validation
Class TraversalContext
java.lang.Object
graphql.validation.TraversalContext
- All Implemented Interfaces:
DocumentVisitor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
-
Constructor Details
-
TraversalContext
-
-
Method Details
-
enter
- Specified by:
enter
in interfaceDocumentVisitor
-
leave
- Specified by:
leave
in interfaceDocumentVisitor
-
getOutputType
- Returns:
- can be null if current node does not have a OutputType associated: for example if the current field is unknown
-
getParentType
- Returns:
- can be null if the parent is not a CompositeType
-
getInputType
-
getDefaultValue
-
getFieldDef
-
getQueryPath
-
getDirective
-
getArgument
-