Skip to content

Commit

Permalink
Add CHANGELOG for #5347
Browse files Browse the repository at this point in the history
  • Loading branch information
abernix committed Jun 5, 2024
1 parent a2951a0 commit 2c13904
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .changesets/fix_skewer_boyfriend_forum_sleigh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
### Update `apollo-compiler` for two small improvements ([PR #5347](https://github.com/apollographql/router/pull/5347))

Updated our underlying `apollo-rs` dependency on our `apollo-compiler` crate to bring in two nice improvements:

- **Fix validation performance bug

Adds a cache in fragment spread validation, fixing a situation where validating a query
with many fragment spreads against a schema with many interfaces could take multiple
seconds to validate.

- **Remove ariadne byte/char mapping

Generating JSON or CLI reports for apollo-compiler diagnostics used a translation layer
between byte offsets and character offsets, which cost some computation and memory
proportional to the size of the source text. The latest version of `ariadne` allows us to
remove this translation.

By [@goto-bus-stop](https://github.com/goto-bus-stop) in https://github.com/apollographql/router/pull/5347

0 comments on commit 2c13904

Please sign in to comment.