Skip to content

Handle relations and ids consistently #44

@facundoolano

Description

@facundoolano

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions