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

[DOC] shorthand methods and quotes for json-api serializer #4778

Merged
merged 3 commits into from
Jan 27, 2017

Conversation

knownasilya
Copy link
Contributor

No description provided.

@locks
Copy link
Contributor

locks commented Jan 27, 2017

Can't kick the AppVeyor build cc @igorT

@@ -27,7 +27,7 @@ const dasherize = Ember.String.dasherize;
```js
Copy link
Contributor

Choose a reason for hiding this comment

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

can you update this with the actual file path, like the rest?


// models/player.js
import DS from "ember-data";
const { attr, belongsTo } = DS;
Copy link
Contributor

Choose a reason for hiding this comment

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

can you revert the destructuring? ;X

Copy link
Contributor Author

Choose a reason for hiding this comment

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

k :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seems inconsistent, since they are used in other examples. Should those be removed?

Copy link
Contributor

Choose a reason for hiding this comment

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

Hm, I personally think so, but we should get some data team consensus.

Copy link
Contributor

Choose a reason for hiding this comment

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

(I thought the docs didn't use destructuring, like Ember/Guides)

@bmac bmac merged commit dc1a68c into emberjs:master Jan 27, 2017
@knownasilya knownasilya deleted the patch-7 branch January 27, 2017 20:58
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