You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When any of the three TYPEs (NON_NULL_TYPE, LIST_TYPE, NAMED_TYPE) contain any number of ignored character before or after the actual type, their order is not preserved, but instead gets appended to the end of the TYPE node.
Description
When any of the three TYPEs (NON_NULL_TYPE, LIST_TYPE, NAMED_TYPE) contain any number of ignored character before or after the actual type, their order is not preserved, but instead gets appended to the end of the TYPE node.
Steps to reproduce
For example, the AST produced for this query,
results in the following AST:
This can be specifically seen in just the NON_NULL_TYPE node debug output:
Expected result
The Ignored tokens should be in their correct place, and the AST for the above example's NON_NULL_TYPE node should be as follows:
This is especially useful when we implement a
String
representation of the AST as the goal of our library is to preserve the original input.The text was updated successfully, but these errors were encountered: