-
Notifications
You must be signed in to change notification settings - Fork 471
fix(types): add fourth param to build findAllBy and findBy queries #574
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
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 5a9be5f:
|
Codecov Report
@@ Coverage Diff @@
## master #574 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 23 23
Lines 462 462
Branches 114 114
=========================================
Hits 462 462 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Would you be so kind and add a test to types/__tests__/type-tests.ts
so that we know this is fixed and won't regress?
@eps1lon Sure. |
@mzdunek93 Awesome! Very nice test. |
@all-contributors add @mzdunek93 for code |
I've put up a pull request to add @mzdunek93! 🎉 |
🎉 This PR is included in version 7.5.6 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This PR makes those arguments required. They should be optional. @kentcdodds should I open another issue? |
Sure. Or you could open a PR of it's simple |
@denysdovhan - did this one ever get fixed? It looks like they're still required in master? |
@zorfling it's still relevant. Now the fourth argument of findAllBy and findBy is required. It should be optional. |
@denysdovhan I've added #794, so hopefully we'll get this one fixed soon. |
Fixes #534