Michał Fedyna

Results 8 comments of Michał Fedyna

@kerwanp I'll work on that if you want, this feature will help me a lot.

@iffa after taking closer look, I don't think you'll need ability to inject QueryClient. Methods from openapi-react-query are using `QueryClient` provided by `QueryClientProvider`. ```typescript import { QueryClientProvider, QueryClient } from...

@iffa Could you provide an example of how interface for that should look like?

@iffa I think it should be done in `@tanstack/react-query`, not here. When you call useQuery from `openapi-react-query` you're providing keys there, so you have access to them. You could always...

I think it looks better just as a helper function. I think you can open PR with that and discuss that with maintainers @drwpow @kerwanp

In my opinion `openapi-react-query` should be just thin wrapper around `react-query` providing type safety.

> [@michalfedyna](https://github.com/michalfedyna) are you still working on this? Happy to try to give a crack at this I'm not, I don't remember what it was about.

I'll work on that over the weekend, I'll keep you updated.