-
-
Notifications
You must be signed in to change notification settings - Fork 528
feat(openapi-react-query): Introduce createQuery #1858
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
🦋 Changeset detectedLatest commit: 4e3ee17 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Hi @zsugabubus! Thanks a lot for willing to contribute, there are really interesting ideas here! As stated in the CONTRIBUTING.md we require new features are discussed first in an issue so you do no one waste time writing code that might not be accepted. Regarding your Pull request, there are three related issues:
Aswell, it is always good to avoid mixing new features in the same PR (when possible): Pass down signal to fetch function this way
|
Removed unrelated features and (seeing the other issues) I renamed the function to |
Hi @zsugabubus, I think this is ready to merge. We just need the documentation for the new |
@kerwanp Added docs but I have to say I'm not a good writer. |
Hi @zsugabubus, thanks for the docs 👌 ! I merged #1864 but that causes small conflicts. Could you fix them? |
@kerwanp Rebased. |
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.
🚀 🚀
Changes
Fixes #1807. Instead of adding a dedicated
useQueries
function I would like propose a general query builder solution, this way not onlyuseQueries
, but all similar functions are covered for free.Unfortunately, I could not resist and introduced two other (minor) changes on my way to the new feature. I'm happy to remove/split them. Please see changeset.How to Review
Checklist
docs/
updated