Closed tubbo closed 3 years ago
The TypeScript type for findByFields() didn't include ObjectID as a valid parameter, even though there are automated tests for it and it definitely is valid to do this in MongoDB. Update the type to reflect what's actually going on.
findByFields()
ObjectID
Thanks for the fix! Published in v0.4.3
v0.4.3
The TypeScript type for
findByFields()
didn't includeObjectID
as a valid parameter, even though there are automated tests for it and it definitely is valid to do this in MongoDB. Update the type to reflect what's actually going on.