You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the example config. For react-query my POST routes produce mutation hooks, but for SWR I only get a wrapper method for the axios call.
What were you expecting to happen?
I would expect a full useSWR mutation hook to be produced for post requests. Or a mention in the documentation that indicates a different usage (e.g. I need to use useSWRMutation by myself passing a key and the generated method)
What versions are you using?
Operating System: Linux Package Version: 6.18.1 Browser Version: Chrome something - not relevant for this issue I guess?
The text was updated successfully, but these errors were encountered:
What are the steps to reproduce this issue?
What happens?
I used the example config. For react-query my POST routes produce mutation hooks, but for SWR I only get a wrapper method for the axios call.
What were you expecting to happen?
I would expect a full useSWR mutation hook to be produced for post requests. Or a mention in the documentation that indicates a different usage (e.g. I need to use useSWRMutation by myself passing a key and the generated method)
What versions are you using?
Operating System: Linux
Package Version: 6.18.1
Browser Version: Chrome something - not relevant for this issue I guess?
The text was updated successfully, but these errors were encountered: