openapi-typescript
openapi-typescript copied to clipboard
How to handle dependent queries?
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?