Open sabina-talipova opened 10 months ago
Investigate possible improvements for QueryCachingMiddleware::getCachedResponse by using DataQuery::union method to reduce additional queries.
See: https://github.com/silverstripe/silverstripe-graphql/blob/4c66b57cb2db3028b0bf219be7b74e17ea0f9b19/src/Middleware/QueryCachingMiddleware.php#L112-L121
Description
Investigate possible improvements for QueryCachingMiddleware::getCachedResponse by using DataQuery::union method to reduce additional queries.
See: https://github.com/silverstripe/silverstripe-graphql/blob/4c66b57cb2db3028b0bf219be7b74e17ea0f9b19/src/Middleware/QueryCachingMiddleware.php#L112-L121