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

[FEAT] Adds support for parenless attr, belongsTo, and hasMany #6339

Merged
merged 1 commit into from
Aug 20, 2019

Conversation

pzuraq
Copy link

@pzuraq pzuraq commented Aug 16, 2019

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!

@pzuraq pzuraq force-pushed the add-paren-less-decorator-support branch 2 times, most recently from bc87e0b to e090101 Compare August 16, 2019 23:09
@chancancode
Copy link
Member

Failures seem unrelated, the same tests seem to fail on master.

@pzuraq pzuraq force-pushed the add-paren-less-decorator-support branch from e090101 to f53f953 Compare August 20, 2019 16:24
},
},
});

Copy link
Contributor

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?

Copy link
Contributor

@runspired runspired left a 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.

@pzuraq pzuraq force-pushed the add-paren-less-decorator-support branch from f53f953 to 6edc449 Compare August 20, 2019 19:24
@runspired runspired merged commit aa05d92 into master Aug 20, 2019
@delete-merged-branch delete-merged-branch bot deleted the add-paren-less-decorator-support branch August 20, 2019 23:49
wycats pushed a commit that referenced this pull request Sep 5, 2019
rwjblue pushed a commit that referenced this pull request Sep 6, 2019
rwjblue added a commit that referenced this pull request Sep 10, 2019
[BUGFIX beta] Adds support for parenless attr, belongsTo, and hasMany (#6339)
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.

3 participants