Skip to content

Support 'prefetchQuery' and 'invalidateKeys' on openapi-react-query #1898

Open
@onionhammer

Description

@onionhammer

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)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @onionhammer@drwpow@kerwanp

    Issue actions

      Support 'prefetchQuery' and 'invalidateKeys' on openapi-react-query · Issue #1898 · openapi-ts/openapi-typescript