Closed ElisePatrikainen closed 3 months ago
Name | Link |
---|---|
Latest commit | bbcbf24cf0e7a47863e761df8196d3217237c022 |
Latest deploy log | https://app.netlify.com/sites/funny-banoffee-0afb46/deploys/65f60818f2e0a50008087ce5 |
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:
Add hooks to enable optimistic updates (relates to https://github.com/posva/pinia-colada/issues/3).
Which raises now few questions:
mutate
function?mutate
function arguments be passed to hooks? So far, I have passed them only to theonMutate
one.onSettled
: should it get the promise result as arguments (the data if the promise succeeded, or the error if it failed)?onError
hook is provided by the user, should, in case of errors, an error still be thrown? Or should we throw it only if theonError
hook is not provided?