Q: I want to create custom db effects that are composable. Is there any prior art for how to do this?
fwiw I think I can achieve all of these goals using the new :fx guaranteed ordering feature. happy days
I want this because I want them de-coupled (compared to just composing fns which couples via a require)
but they need to compose e.g. http response handler calls a de-coupled util db effect and adds its own custom db transforms.
One idea would be to allow these effects to accept a seq of “decorator” fns along with its args
but I’m curious about other designs
the perfect solution would allow composition of n db effects and some custom db transforms in an event handler output map