GraphQLGuide / apollo-datasource-mongodb

Apollo data source for MongoDB
MIT License
285 stars 64 forks source link

Support ObjectID in findByFields Type #67

Closed tubbo closed 3 years ago

tubbo commented 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.

lorensr commented 3 years ago

Thanks for the fix! Published in v0.4.3