You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why is the inner ID called "_id" and not "id"? And why is the inner ID not in in UUID format like the outer ID but some internal (probably Mongo?) format?
When I query for it later, at least the "_id" field is now correctly called "id", but this is confusing. Why not already in the return of the POST? And again, the id is not a UUID.
I would like to have stable IDs (uuids) also on sub documents of a collection. This is what I experience:
Again, I have a simple model:
Then, I want to give the documents under p1 a uuid. When I POST this example JSON ...
... I get back a JSON like this immediately in the result:
Why is the inner ID called "_id" and not "id"? And why is the inner ID not in in UUID format like the outer ID but some internal (probably Mongo?) format?
When I query for it later, at least the "_id" field is now correctly called "id", but this is confusing. Why not already in the return of the POST? And again, the id is not a UUID.
Also when I pre-generate a UUID and try to submit it along in the POST like ...
the UUID is overwritten and I get back a different, regular ID in the repsonse:
Could you fix this, so that also for sub-documents UUIDs are generated?
The text was updated successfully, but these errors were encountered: