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

Don't clear caches if we're setting current to the existing value #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jturkel
Copy link
Member

@jturkel jturkel commented Dec 10, 2019

This PR updates current= and current_id= to be no-ops if setting current to the existing value which avoids clearing any caches. It also fixes clear_current! to ensure they propagate to dependent objects.

@atsheehan - you're prime

Copy link
Contributor

@atsheehan atsheehan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found this one while clearing out my PR inbox, woops :)

LGTM after bumping the version to the latest value.

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.

2 participants