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 beta] Eagerly consume aliases #18329

Merged
merged 1 commit into from
Aug 29, 2019

Conversation

pzuraq
Copy link
Contributor

@pzuraq pzuraq commented Aug 29, 2019

This PR reverts alias's behavior to eagerly consume their alternate keys
when being observed or depended on by other CPs, the same behavior they
had prior to enabling tracked properties. This reintroduces a bug where
this would cause aliased values to be eagerly computed if they were
observed via their alias, but as this was a known issue with a
workaround, it's a better alternative to introducing a much larger
change in behavior.

Fixes #18318

This PR reverts alias's behavior to eagerly consume their alternate keys
when being observed or depended on by other CPs, the same behavior they
had prior to enabling tracked properties. This reintroduces a bug where
this would cause aliased values to be eagerly computed if they were
observed via their alias, but as this was a known issue with a
workaround, it's a better alternative to introducing a much larger
change in behavior.
@krisselden krisselden merged commit 2938dcb into master Aug 29, 2019
@delete-merged-branch delete-merged-branch bot deleted the bugfix/consume-alias-alt-key-tags branch August 29, 2019 19:50
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.

observers on alias, reads and readOnly computed properties don't fire in 3.13.beta-4
2 participants