drupal-graphql / drupal-graphql/graphql
Getting bad results cached - "path": "/node/123" instead of "path": "<alias>" - cache:rebuild resolves this
- Dominant language
- PHP
- Stars
- 287
- Forks
- 198
- PR merge metrics
- No merged PRs in 30d
Description
This is more for rubber ducking at this point. Our situation is that on some cases we get a bad cache (cid) in the cache_graphql_results table and subsequent requests consume it.
The example here is that the result contains `"path": "/node/123"` instead of `"path": ""`. `cache:rebuild` resolves this and then returns the correct `"path": ""`. I am not sure yet what causes this so am just putting this out here if anyone has ideas.
The initial query that caused it, I don't have, but I did checkout the commit that caused it and could not reproduce it with the commit that generated the query to cause it.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.