drupal-graphql / graphql

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

Access result from "entity_access" data producer is not added as cacheable dependency #1371

Closed dulnan closed 11 months ago

dulnan commented 11 months ago

The entity_access data producer does not set the correct cache metadata on the field context. It should pass TRUE as the third argument to access() and add the returned AccessResult as a cacheable dependency.