drupal-graphql / graphql

GraphQL integration for Drupal 9/10
288 stars 202 forks source link

fix(caching): Take operation into account for cache prefix (#1365) #1366

Closed dulnan closed 9 months ago

dulnan commented 10 months ago

Fixes #1365.

klausi commented 9 months ago

Thanks, at first I did not understand that you can actually send different operation names with multiple queries.

Not sure why you would do that, as the graphql server will only execute one?

Anyway, I have a test case now that I will push in a follow-up PR and we can do this!