orval
orval copied to clipboard
feat(query): support custom-fetch-hook
Status
READY
Description
Currently, Orval generates broken code when mutator is custom fetch client hook.
Todos
- [x] Tests
- [ ] Documentation
- [ ] Changelog Entry (unreleased)
Steps to Test or Reproduce
You can check by using sample app.
Looks like build is failing?
Thank you for nice enhance !
I don't want to include the hooks concerns in the fetch package alone, so give me some time to think about how to get around that.
I've thought about this, and I'd like to have no query concerns in the fetch package.
But that would require me to do more refactoring, so I'll make another one after this PR is merged.
@izumin5210 Could you fix the failing tests?
@soartec-lab you might have to just take this PR over
Yes, there is a conflict, so I will close it for now. If a new issue arises, I will revisit this.