Skip to content

Duplicated records between data and included could be removed? #7

@joelalejandro

Description

@joelalejandro

The hook currently clears duplicated records from the included collection, but as this SO post says, data can have a record which is also present in included because it is part of a self-referenced relationship.

I'm awaiting further oppinions about this to see what should the post-serialization process should do in this case.

  • Discussed it on Ember's Slack channel, shouldn't cause any troubles on Ember Data. Possibly the JSON API spec maintainers haven't ruled on this case.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions