github apollographql/router v1.61.4

latest releases: v2.6.2, v2.6.1, v2.6.2-rc.1...
4 months ago

🐛 Fixes

Entity-cache: handle multiple key directives (PR #7228)

This PR fixes a bug in entity caching introduced by the fix in #6888 for cases where several @key directives with different fields were declared on a type as documented here.

For example if you have this kind of entity in your schema:

type Product @key(fields: "upc") @key(fields: "sku") {
  upc: ID!
  sku: ID!
  name: String
}

By @duckki & @bnjjj in #7228

Don't miss a new router release

NewReleases is sending notifications on new releases.