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

fix: invalidate cached values after updating accessor functions #5582

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

takoshi
Copy link

@takoshi takoshi commented May 25, 2024

What's this PR

#5363

The above issue reported that getValues returns stale cached values after changing accessor functions.

This PR fixes it.

8cd8449: add unit tests
f66f4e6: accessor functions are also held as cache, and it determines whether the cached data are fresh or stale.

@takoshi takoshi marked this pull request as ready for review May 25, 2024 08:10
@EvanBarnesAZ
Copy link

Is this good to merge?

@nickzelei
Copy link

Would love to see this merged!

@lifeiscontent
Copy link

@tannerlinsley can we get some eyes on this? :)

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.

4 participants