Package graphql.util
Class ReplaceNode
- java.lang.Object
-
- graphql.util.ReplaceNode
-
public class ReplaceNode extends java.lang.Object
Special class to be set as var inTraverserContext.setVar(Class, Object)
to indicate that the current node should be replaced. This is used when the new Node actually has different children and you wanna iterator over the new State.
-
-
Constructor Summary
Constructors Constructor Description ReplaceNode(java.lang.Object newNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getNewNode()
-