Fork me on GitHub

Hi folks, om beginner here. I was debugging a new app I'm writing and got tripped up for a solid 45 minutes by forgetting to return {:value x} from my read fn. I noticed that the docs say that read "This map can contain a :value entry" as opposed to "This map should contain a :value and an :action entry" in the mutate docs - what's the value of not returning a map with :value in 'read?


It would be awesome if we could provide some slightly stricter validation on the result of readfn - I think I would have benefitted from an error message in this case