-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Remove deprecations to support ember 4.x #90
Conversation
> ember-getowner-polyfill is not required for Ember 2.3.0 and later, please remove from your `package.json`.
6bee291
to
d5cf865
Compare
@action | ||
update(attribute, event) { | ||
let value = event.target.value; | ||
return this.model.set(attribute, value); |
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.
It feels a bit iffy to modify model
(I like to think of what the model
hook returns as read-only), but I understand that the PR is focused on updating the current syntax.
I might suggest that, in the future, we look at defining the validations and and the form "object" directly in the controller (currently these are defined in tests/dummy/app/models/dummy.js
).
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.
Happy to do a review if you open a PR =)
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.
✨
Ref #85