Skip to content
This repository has been archived by the owner on May 26, 2019. It is now read-only.

Update documentation to include route-serializer info #1380

Closed
wants to merge 1 commit into from

Conversation

trentmwillis
Copy link
Member

As requested in emberjs/ember.js#13016 and discussed in the RFC: Route Serializers. Let me know if anything else is needed as I haven't contributed to the guides before.

@rwjblue
Copy link
Member

rwjblue commented Apr 18, 2016

Awesome, thank you @trentmwillis. We will likely hold this PR and merge closer to the release version of the feature, but I defer to the @emberjs/guides-managers on that...

@locks locks added this to the 2.6 milestone Apr 18, 2016
@locks locks self-assigned this Apr 18, 2016
@locks
Copy link
Contributor

locks commented Apr 18, 2016

I confirm, it will get merged when we do the review period freeze so we can get updates to the current content in as much as possible.
Appreciate the work! :)

});
```

If no `serialize` function is defined, then a straight property lookup on the model will be used for each segment instead.
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 give an example? Or maybe inverse it, first explain how the default works, and then explain how you can customize. I believe you can check the model() hook documentation for a similar flow.

Copy link
Member Author

Choose a reason for hiding this comment

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

Makes sense. Will update.

@trentmwillis
Copy link
Member Author

@locks updated. Let me know what you think.

@locks locks modified the milestones: 2.5, 2.6, 2.7 May 23, 2016
@locks locks closed this Jul 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants