-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem after insert doc._id object #282
Comments
Did you setup to use MongoDB object Id for _ids? |
@aboire can you provide a minimum reproduction or provide a code sample to test this on? |
yes I configured correctly
the return is not ObjectID |
I think the problem is https://github.com/Meteor-Community-Packages/meteor-collection-hooks/blob/master/insert.js#L36
but maybe an "or" here would be good but I don't know what "id.ops" corresponds to |
with objects for _id the return of doc._id after insert is of the type "new ObjectId("964b098402035b3de292d00f")"
meteor : [email protected]
matb33:[email protected]
mongo server version 4.2
The text was updated successfully, but these errors were encountered: