openapi-typescript
openapi-typescript copied to clipboard
Support 'prefetchQuery' and 'invalidateKeys' on openapi-react-query
Description
Currently, the supported methods on an api created with createClient are 'useQuery', 'useMutation', and 'useSuspenseQuery', which doesn't capture much of what react-query can do
Proposal
Add support for some basic react-query functionality (or otherwise document how to utilize that functionality in the documentation
Checklist
- [ ] I’m willing to open a PR for this (see CONTRIBUTING.md)