Skip to content

Commit

Permalink
changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Apr 23, 2024
1 parent 4d1d093 commit 4f91abe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changesets/fix_geal_schema_aware_hash_introspection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
### Use the entire schema when hashing an introspection query ([Issue #5006](https://github.com/apollographql/router/issues/5006))

in https://github.com/apollographql/router/pull/4883 (1.44.0), we introduced a query hashing scheme that stays stable across schema updates if the update does not affect the query. Unfortunately, it was not taking introspection queries into account.
This fixes the hashing mechanism to add the schema string to hashed data if we encounter an introspection field, so the entire schema is taken into account

By [@Geal](https://github.com/Geal) in https://github.com/apollographql/router/pull/5007

0 comments on commit 4f91abe

Please sign in to comment.