Fork me on GitHub
#fulcro
<
2023-09-05
>
Eric Dvorsak15:09:52

mutation-return-value was a neat addition to the ok-action env!

tony.kay19:09:52

Yeah, I was sort of resistant to it for some time because you can use returning to get a normalized merge of the return value, so it seemed like “encouraging misuse”…but there does seem to be a class of useful cases where you don’t really need the return value in app state, but just sort of need it in some kind of transient fashion.

tony.kay19:09:23

so I got tired of having to manually decode it out of the raw network result 😄