Skip to content

Support ObjectID in findByFields Type #67

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

Merged
merged 1 commit into from
Jun 17, 2021

Conversation

tubbo
Copy link
Contributor

@tubbo tubbo commented Jun 17, 2021

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.

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 lorensr merged commit 9282142 into GraphQLGuide:master Jun 17, 2021
@lorensr
Copy link
Member

lorensr commented Jun 17, 2021

Thanks for the fix! Published in v0.4.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants