Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[12.x] Add flexible support to memoized cache store #55709

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 12, 2025

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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.