-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Added section on model.save RFC #3537
Added section on model.save RFC #3537
Conversation
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.
LGTM!
@@ -41,8 +41,14 @@ Read more in the [rendered pull request on GitHub](https://github.com/emberjs/rf | |||
|
|||
--- | |||
|
|||
## [SECTION TITLE](#section-url) | |||
## [RFC: I Promise You It's Good](#section-url) |
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.
Missed adding the link to the RFC replacing section-url
Also an emoji! 👌
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.
This reads great ✨ After updating the section url this should be good to go!
|
||
The idea here is to make `DS.Model.save()` return an `RSVP.Promise` instead of a `PromiseObject`. This is to remove the dependency on promise proxies, improve async consistency and enable new functionality in Ember Data. | ||
|
||
The only drawback of this is if you are already relying on this behaviour you’ll probably have to refactor your code to either use patterns like `async/await` or `ember-concurrency`. |
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.
Maybe add a link to the Ember Concurrency GitHub here?
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.
This reads great, thank you for another writeup this week ✨
No description provided.