Skip to content

Conversation

@timacdonald
Copy link
Member

Fixes #55700

Using flexible with cache memo silently fails. This ensures it works as expected.

We could make changes in the flexible method if we don't want to add the lock / restoreLock methods to the memoized cache driver, but I think it is fine and potentially even useful if you want to pass around a memoized store.

@taylorotwell taylorotwell merged commit 14c49a7 into laravel:12.x May 12, 2025
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Calling flexible() on a memoized cache errors during deferred refetch

2 participants