diff --git a/Cargo.lock b/Cargo.lock index 32ae61bd04..4e48110849 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -224,9 +224,9 @@ dependencies = [ [[package]] name = "apollo-parser" -version = "0.8.3" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b64257011a999f2e22275cf7a118f651e58dc9170e11b775d435de768fad0387" +checksum = "9692c1bfa7e0628e5c46bd0538571dd469138a0f062290fd4bf90e20e46f05da" dependencies = [ "memchr", "rowan", diff --git a/Cargo.toml b/Cargo.toml index 40062ddc7a..cbfe763b1b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,7 +50,7 @@ debug = 1 # https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table [workspace.dependencies] apollo-compiler = "=1.0.0-beta.24" -apollo-parser = "0.8.3" +apollo-parser = "0.8.0" apollo-smith = "0.14.0" async-trait = "0.1.77" hex = { version = "0.4.3", features = ["serde"] } diff --git a/apollo-router/tests/integration/operation_name.rs b/apollo-router/tests/integration/operation_name.rs index 6d2ef81226..1359b54398 100644 --- a/apollo-router/tests/integration/operation_name.rs +++ b/apollo-router/tests/integration/operation_name.rs @@ -14,15 +14,9 @@ async fn empty_document() { { "errors": [ { - "message": "parsing error: syntax error: Unexpected .", - "locations": [ - { - "line": 1, - "column": 27 - } - ], + "message": "Syntax Error: Unexpected .", "extensions": { - "code": "PARSING_ERROR" + "code": "GRAPHQL_PARSE_FAILED" } } ]