Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
DEFAULT_GETTER_FUNCTION returns wrong value if actual value is set to undefined #17022
It looks like this issue is present in all recent Ember releases.
Here's an ember-twiddle which demonstrates the problem:
I don't know much about the internals of Ember's object system, but the core of this issue is that you can't set a regular property to
The reason for this is the difference of the two getter methods,
On a side note, wouldn't it make sense using
Like I've already said, I'm unfamiliar with how Ember works under the hood, but why are there two similar methods being used for two different getter methods?
Thanks for taking the time to dig into this and document what is going on so thoroughly!
This definitely seems like a bug that we should address.
I do not believe that