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

Handle relations and ids consistently #44

Open
facundoolano opened this issue Oct 14, 2014 · 0 comments
Open

Handle relations and ids consistently #44

facundoolano opened this issue Oct 14, 2014 · 0 comments

Comments

@facundoolano
Copy link
Member

Currently the id handling is a bit inconsistent (see #21) and cumbersome to work with (it requires doing model._id.toString() for comparisons). It would be good to hide implementation details and perhaps providing a way to set related models as fields that will be converted to its ids upon serialization.

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

No branches or pull requests

1 participant