Skip to content

_id field is not retrieved #49

@myartsev

Description

@myartsev

I am trying to retrieve the _id key as part of jsonapi-store-mongodb response so that I can get relationships to work via query population.

All the other mongodb generated fields (_v, createdAt, updatedAt) are successfully returned by jsonapi-store-mongodb if I include them in the schema, however _id appears to be the one outlier.
Is there something special about it?

Tangentially - is there another way to get relationships / reference documents to work?

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