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

Document the relationship serialized format in the RESTAdapter #4659

Merged
merged 1 commit into from
Nov 18, 2016

Conversation

bmac
Copy link
Member

@bmac bmac commented Nov 16, 2016

Closes #3872

@@ -67,7 +67,7 @@ const Promise = Ember.RSVP.Promise;

```js
{
"post": {
"posts": {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will happily read "post" or "posts" when extracting the data but it will serialize requests as "posts" so I think its a good idea for the docs to show the pluralized version for consistency.

@pangratz pangratz merged commit 2c81ed1 into emberjs:master Nov 18, 2016
@pangratz
Copy link
Member

Thanks @bmac!

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.

2 participants