Closed DerGuteMoritz closed 1 year ago
@DerGuteMoritz Hi Moritz, thanks for pinging about this. I'd like a little time to think about the best way to address this.
My quick first impression:
Middleware will work, but may be needlessly expensive.
In principle, might be better to transform vargs only when the :msg_
delay is actually evaluated.
Could provide some kind of option for a transform at that point, though need to think about the possibilities and tradeoffs.
Thoughts/ideas also welcome!
This will be addressed in forthcoming release.
Two relevant changes:
Thanks again for pinging about this 👍
Plain JS objects are printed rather uselessly by default in cljs. E.g.
which results in:
JS arrays are also a bit odd in that they lack delimiters. E.g.
which results in:
We've worked around this with the following middleware so far:
Which makes the above examples print this instead:
Maybe worth including something like this by default?