Skip to content

child id fails because ["id" is required] #283

Description

@ju-Skinner

Yes, this sounds pretty trivial, but I am loading data from a large dataset via mongoimport. It is creating the internal _id using ObjectId. What I have seemed to discover that doing the data load this way, it doesn't process the data the same way in which it would be done via a "Post" passing individual records.

I am currently using jsonapi-store-mongodb. There is an issue with that handler when using ObjectId's, but this PR solves that problem, you can see in the screenshot below.
image

this is a snippet from a simple search, that would correlate with the db.collection.find({})
image

Screenshot of Db result:
image

Screen shot of my result page.
image

But once I started to debug the server, it was clear why the results weren't being rendered.

My question is, how can this be solved when bulk inserting data via console?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions