Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The caching in ConfigDeriverBase might be redundant. We already have schema_cache_tags, schema_cache_contexts and schema_cache_max_age in GraphQLAnnotationBase.
Comments
Comment #2
blazey CreditAttribution: blazey at Amazee Labs commentedComment #4
blazey CreditAttribution: blazey at Amazee Labs commentedThe additional caching layer has been removed. It would be nice to use the schema_cache_tags, I don't know if that'll work with code-driven config changes though.
Comment #5
gordon CreditAttribution: gordon at Heydon Consulting commentedI thought that this was the other cache item on the ConfigObject, but the index which is built for the deriver is a very expensive process and the data is used across all 11 derivers. So without this cache will be built 11 times (As there is 11 derivers which use this). This is a very expensive process.
We really need to reinstate this cache.
Comment #7
blazey CreditAttribution: blazey at Amazee Labs commentedMakes sense, thanks for pointing out. Reverted.