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
{{ message }}
This repository was archived by the owner on Oct 31, 2024. It is now read-only.
src: https://github.com/taskless/mongo-data-api/blob/972d2b6bedeb4a4806e774510626ab57accae203/src/client.ts#L277
Because mongo-data-api uses EJSON types when talking to a realm app, the inserted ID is automatically upgraded to an ObjectId, not a string.
Workaround: Until fixed, you can forcibly cast into an ObjectId using
new ObjectId(str)