drupal-graphql / drupal-graphql/graphql
The GraphQL language negotiation method is unusable with caching turned on
Open
4.x
bug
- Dominant language
- PHP
- Stars
- 287
- Forks
- 198
- PR merge metrics
- No merged PRs in 30d
Description
Currently the operation events are being fired only when retrieving executing an uncached operation. When retriving a cache entry in a multilingual setup it will contain a cache context for the content language. If the operation events are not fired then we cannot set the language in the execution context and therefore the language negotiation method will not be able to return anything. In order to solve the issue the operation events have to be called always before and after an operation even if reading from a cache entry.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.