-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cacheability metadata not bubbled up for computed fields in GraphQL responses #1414
Comments
I had a similar problem, where I had a computed field that had to return a Url to another entity that was referencing the entity. In the end the solution was making sure that the graphql field producer plugins use In my case I had to use Example from the SchemaExtension plugin:
|
It looks like cacheability metadata for computed fields are not bubbled up in GraphQL responses.
This is a similar issue as https://www.drupal.org/node/3423720 (but then for GraphQL responses).
The text was updated successfully, but these errors were encountered: