openapi-typescript icon indicating copy to clipboard operation
openapi-typescript copied to clipboard

How to handle dependent queries?

Open lukasbash opened this issue 1 year ago • 8 comments

We are already using the openapi-fetch package to generate our client code for the specification. We want to establish the usage of react query too, so we're glad that you work on a component here. Basically we have a very granular backend API which results in a lot of dependent query calls. How is this handled in your query package? Usually the query options are mixed with additional flags, in this case I am aware of enabled and skipToken. But as the specification might contain mandatory parameters, it can't just work out.

Any feedback on this?

lukasbash avatar Oct 06 '24 19:10 lukasbash