contiamo / restful-react

A consistent, declarative way of interacting with RESTful backends, featuring code-generation from Swagger and OpenAPI specs 🔥
MIT License
1.87k stars 109 forks source link

Revert "Stabilize the identity of the mutate function" #337

Closed amacleay-cohere closed 3 years ago

amacleay-cohere commented 3 years ago

Reverts contiamo/restful-react#335

I realized while testing this with a much larger project today that this PR adds a problem: if the identity of the mutate function does happen to change, the abort() function no longer gets called with the prior instance's abort handler, but the current instance's abort handler! I am working on a fix for this, but in the meantime, #335 should just be reverted in a bugfix release.

netlify[bot] commented 3 years ago

Deploy request for restful-react accepted.

Accepted with commit ad33f3a41f6fa9e9e64aba9cb43af8b484e8b3d2

https://app.netlify.com/sites/restful-react/deploys/60594245a7fed10007749729

amacleay-cohere commented 3 years ago

prefer #338