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

Loosen undefined rule for computational expressions #3452

Closed
wants to merge 2 commits into from

Conversation

kaste
Copy link
Contributor

@kaste kaste commented Feb 22, 2016

  • Let developers opt-in to see undefined's in observers et.al.
  • Let computed properties and annotations evaluate to undefined if their dependencies cannot be fulfilled

Can be seen as an add-on to #3423, could be applied individually as well. All in all non breaking change.

Ref issue #3453, fixes #2158.

@kaste
Copy link
Contributor Author

kaste commented Apr 4, 2016

I'm not convinced anymore that this is a good change. I actually doubt it is. Feel free to close it.
-- Sorry wrong PR.

@TimvdLippe
Copy link
Contributor

Observers run with undefined in Polymer 2 as described in the upgrade guide, therefore I am closing this PR. Thanks for your suggestions, they helped defining the Polymer 2 API 😄

@TimvdLippe TimvdLippe closed this Aug 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Computed binding not executed if argument is undefined
4 participants