vercel / swr-site

The official website for SWR.
https://swr.vercel.app
Apache License 2.0
481 stars 351 forks source link

rollback on error #576

Open barisyasar opened 4 months ago

barisyasar commented 4 months ago

I am making a mutation const WORKPLACES_PROJECTS_TASKS = "workplaces/projects/tasks"; but when error i want to rollback to const WORKPLACES = "workplaces"; this end point how can i do this ?

Maybe it will be good there is a parameter rollbackOnError endpoint