ResourceResponseFactory to return a CacheableResourceResponse if request is cacheable

Created on 30 June 2020, almost 4 years ago
Updated 17 April 2024, 2 months ago

When https://www.drupal.org/project/drupal/issues/3072076 β†’ lands, the addCachebleDependency method will only be available to the new CacheableResourceResponse.

Solution
Update the ResourceResponseFactory to an instance of the new class.

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States pixelwhip

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024