diff --git a/.changeset/fluffy-toes-deliver.md b/.changeset/fluffy-toes-deliver.md index 8554b3211..0b878d766 100644 --- a/.changeset/fluffy-toes-deliver.md +++ b/.changeset/fluffy-toes-deliver.md @@ -1,6 +1,8 @@ --- -"@apollo/gateway": minor +"@apollo/gateway": patch --- -created a hash of both queryHash and operation name for queryPlanStoreKey +Previously the `queryPlanStoreKey` was a hash of the query concatenated with an unhashed `operationName` if it was present. This resulted in variable length cache keys that could become unnecessarily long, occupying additional space in the query plan cache. + +This change incorporates the `operationName` _into_ the hash itself (if `operationName` is present). \ No newline at end of file