Skip to content
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

Bugfix: Don't cache error results #420

Merged
merged 2 commits into from
Mar 20, 2025

Conversation

chriszarate
Copy link
Member

Bugfix to prevent memoizeFn from caching Promise rejections.

@chriszarate chriszarate added the bug Something isn't working label Mar 13, 2025
Copy link

Test this PR in WordPress Playground.

@chriszarate chriszarate merged commit e677ae2 into trunk Mar 20, 2025
13 checks passed
@chriszarate chriszarate deleted the fix/memoize-dont-cache-error-result branch March 20, 2025 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants