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] Update DS.Errors#unknownProperty to return undefined. #5340

Merged
merged 1 commit into from
Jan 28, 2018

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Jan 28, 2018

In Ember 3.1+ any object that has an unknownProperty will throw an error if its unknownProperty returns any value other than undefined and the property is accessed via obj.someProperty (instead of obj.get('someProperty') or Ember.get(obj, 'someProperty')).

@rwjblue
Copy link
Member Author

rwjblue commented Jan 28, 2018

Should be a BUGFIX beta

In Ember 3.1+ any object that has an `unknownProperty` will throw an
error if its `unknownProperty` returns any value other than `undefined`
and the property is accessed via `obj.someProperty` (instead of
`obj.get('someProperty')` or `Ember.get(obj, 'someProperty')`).
@rwjblue rwjblue force-pushed the fixes-for-canary-proxy-assertion branch from e0d8af1 to 64d5620 Compare January 28, 2018 07:11
@rwjblue rwjblue changed the title Update DS.Errors#unknownProperty to return undefined. [BUGFIX beta] Update DS.Errors#unknownProperty to return undefined. Jan 28, 2018
@rwjblue rwjblue merged commit 4734648 into emberjs:master Jan 28, 2018
@rwjblue rwjblue deleted the fixes-for-canary-proxy-assertion branch January 28, 2018 18:20
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.

1 participant