-
Notifications
You must be signed in to change notification settings - Fork 244
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
router panics when parsing invalid schema #2269
Comments
@garypen I see I was using version 1.5.0 — I think 1.6.0 just became available. I updated just now and I saw the error message on the first attempt at running it. Trying three more times, it does start and stay up, though the warnings continue to happen. I also see the warning when running from inside docker. |
@SimonSapin does this still happen with recent apollo-parser fixes? |
No, nothing changed around this recently that I know of. I can reproduce the error on Schema parsing calls |
It looks like miette errors because apollo-parser reports an |
Found the root cause: the input string we give to apollo-parser has |
oh, nice one! |
Fixes #2269 **Checklist** Complete the checklist (and note appropriate exceptions) before a final PR is raised. - [x] Changes are compatible[^1] - [x] Documentation[^2] completed - [x] Performance impact assessed and acceptable - Tests added and passing[^3] - [x] Unit Tests - [ ] Integration Tests - [ ] Manual Tests **Exceptions** *Note any exceptions here* **Notes** [^1]. It may be appropriate to bring upcoming changes to the attention of other (impacted) groups. Please endeavour to do this before seeking PR approval. The mechanism for doing this will vary considerably, so use your judgement as to how and when to do this. [^2]. Configuration is an important part of many changes. Where applicable please try to document configuration examples. [^3]. Tick whichever testing boxes are applicable. If you are adding Manual Tests: - please document the manual testing (extensively) in the Exceptions. - please raise a separate issue to automate the test and label it (or ask for it to be labeled) as `manual test`
This is not a Router issue but commenting here that it would be nice if Studio/checks could validate not just schema types but config and schema metadata too |
From a customer comment on #2098. I'm not sure which version of the router caused this problem.
The text was updated successfully, but these errors were encountered: