-
Notifications
You must be signed in to change notification settings - Fork 275
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
v1.28.0 — version has been yanked to avoid escape character bug #3680
Comments
Here is a snippet that reproduces the issue: use apollo_compiler::ApolloCompiler;
use apollo_compiler::AstDatabase;
fn main() {
let stuff = r#"
"""
'/\W/'
"""
"#;
let mut compiler = ApolloCompiler::new();
let id = compiler.add_type_system(stuff, "schema.graphql");
let ast = compiler.db.ast(id);
let mut parse_errors = ast.errors();
assert_eq!(
"ERROR@5:27 \"expected definition\" \"\"\"\n '/\\W/'\n \"\"\"",
parse_errors.next().unwrap().to_string()
);
} This test passes using apollo_compiler "=0.10.0" and fails using apollo_compiler "=0.11.0" and above. The test fails with this output:
|
We're looking at the upstream fix in apollographql/apollo-rs#632. |
I think the underlying cause is the same as #3541 |
We have discovered an issue with comment parsing in graphql schema in this release (#3680). To prevent issues for our users we have decided to yank this release. Users should use 1.27.0 until we fixed the issue and released 1.28.1. This commit reverts our documentation and also points `install.sh` back to 1.27.0.
We have discovered an issue with comment parsing in graphql schema in this release (#3680). To prevent issues for our users we have decided to yank this release. Users should use 1.27.0 until we fixed the issue and released 1.28.1. This commit reverts our documentation and also points `install.sh` back to 1.27.0. --------- Co-authored-by: bryn <[email protected]> Co-authored-by: Jesse Rosenberger <[email protected]>
We yanked 1.28.0. We will re-publish a new 1.28.x series as soon as this issue is resolved. v1.27.0 is again the latest version as of this time. Thanks for your patience! |
Fix in #3675 |
We have discovered an issue with comment parsing in graphql schema in this release (apollographql#3680). To prevent issues for our users we have decided to yank this release. Users should use 1.27.0 until we fixed the issue and released 1.28.1. This commit reverts our documentation and also points `install.sh` back to 1.27.0. --------- Co-authored-by: bryn <[email protected]> Co-authored-by: Jesse Rosenberger <[email protected]>
Thank you @goto-bus-stop! We have released https://github.com/apollographql/router/releases/tag/v1.28.1 with the fix. It takes the place of our 1.28.0 recommendation and we've updated the release notes for v1.28.1 to include all of v1.28.0's notes. |
Using the following comment will within a graphql schema will prevent the Router starting.
This worked on 1.27.0.
The text was updated successfully, but these errors were encountered: