-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in parser: "extend type" declaration breaks parser #166
Comments
leebyron
added a commit
that referenced
this issue
Sep 9, 2015
Fixed the issue #166 related to parsing of 'extend type' declaration
Thanks for the investigation and fix! |
Where is this |
It's experimental right now and thus has limited documentation. There's a proposal to add it to the spec. |
How is it used? I'd like to be able to extend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adding the following test to schema kitchen sink breaks the print test (visitor throws "Invalid AST Node")-
Root cause is a typo in the parser code - parser currently imports TYPE_EXTENTION_DEFINITION (instead of TYPE_EXTENSION_DEFINITION). This causes
parseTypeExtensionDefinition
to return aTypeExtensionDefinition
value withkind
field undefined, which in turn causes visitor to throw "Invalid AST Node".I will submit a PR with the patch and updated test case shortly.
The text was updated successfully, but these errors were encountered: