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

fixed serialize example #6816

Merged
merged 1 commit into from
Nov 27, 2019
Merged

fixed serialize example #6816

merged 1 commit into from
Nov 27, 2019

Conversation

MarcoUmpierrez
Copy link
Contributor

I saw in the documentation the example code for the serialize method and it shows the snapshot.id property as a function instead of a string. I double checked it to be sure it is just a string :) I hope this is the right place to make the fix to the documentation.

I saw in the [documentation](https://api.emberjs.com/ember-data/release/modules/@ember-data%2Fserializer) the example code for the `serialize` method and it shows the `snapshot.id` property as a function instead of a string. I [double checked it](https://github.com/emberjs/data/blob/master/packages/store/addon/-private/system/snapshot.js#L65) to be sure it is just a string :) I hope this is the right place to make the fix to the documentation.
@runspired runspired merged commit d0dad1b into emberjs:master Nov 27, 2019
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