Supporting useSWRMutation for GET methods #2218
Closed
tatsuya-asami
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
PR's for this would be welcome... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to propose adding support for generating
useSWRMutation
hooks in Orval's SWR client, including support for GET requests in addition to non-GET methods.https://swr.vercel.app/docs/mutation#useswrmutation
How about adding an option to enable useSWRmutation in the GET method as well?
Beta Was this translation helpful? Give feedback.
All reactions