-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[FEAT] Adds support for parenless attr, belongsTo, and hasMany #6339
Conversation
bc87e0b
to
e090101
Compare
Failures seem unrelated, the same tests seem to fail on master. |
e090101
to
f53f953
Compare
}, | ||
}, | ||
}); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we check accessing via dot notation as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit on adding an assertion for dot notation access, otherwise LGTM.
f53f953
to
6edc449
Compare
(cherry picked from commit aa05d92)
(cherry picked from commit aa05d92)
[BUGFIX beta] Adds support for parenless attr, belongsTo, and hasMany (#6339)
This will only be added in modern Ember versions that support decorators. I tried to figure out how to write better tests, but I couldn't find basic unit tests to emulate, will definitely take pointers if anyone has any!