Skip to content

fix parsing on windows#92

Merged
jensneuse merged 1 commit intowundergraph:nextfrom
pvormste:fix/schema-parsing-windows
Oct 27, 2019
Merged

fix parsing on windows#92
jensneuse merged 1 commit intowundergraph:nextfrom
pvormste:fix/schema-parsing-windows

Conversation

@pvormste
Copy link
Copy Markdown
Contributor

Schema parsing on Windows is broken, because the carriage return (CR, "\r") is tokenized as IDENT instead of a whitespace.

So when parsing the default schema the parser throws following error:

starting testServer...
2019/10/26 16:12:48 external: unexpected token - got: IDENT want one of: [COLON], locations: [{Line:2 Column:5}], path: []

This PR should fix this issue and the parser should work now on Windows.
Tests has been added too.

@jensneuse jensneuse merged commit 89f9bfa into wundergraph:next Oct 27, 2019
jensneuse pushed a commit that referenced this pull request Feb 15, 2021
* add failing test in graphql package

* fix argument templates not being resolved when not having spaces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants