This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-12-09
Channels
- # adventofcode (95)
- # announcements (22)
- # aws (2)
- # babashka (14)
- # beginners (133)
- # bristol-clojurians (2)
- # calva (43)
- # cider (11)
- # clj-kondo (82)
- # cljsrn (20)
- # clojure (100)
- # clojure-europe (12)
- # clojure-italy (9)
- # clojure-nl (7)
- # clojure-poland (1)
- # clojure-spec (4)
- # clojure-uk (105)
- # clojurescript (42)
- # cryogen (1)
- # cursive (6)
- # data-science (1)
- # datomic (5)
- # euroclojure (2)
- # figwheel (4)
- # fulcro (4)
- # garden (1)
- # graphql (3)
- # hoplon (4)
- # jobs (1)
- # joker (3)
- # luminus (4)
- # malli (15)
- # off-topic (129)
- # pathom (10)
- # re-frame (43)
- # reagent (7)
- # reitit (3)
- # shadow-cljs (31)
- # vim (6)
- # yada (39)
@ikitommi just confirming that with the changes, a custom :string/decode
on a schema entry will still fully overwrite the default mt/string-transformer
for the type, yes? I think that escape hatch is quite useful.
@rschmukler yes, will override, no changes there
Wonderful! Reading through the code but it looks great so far
Hmmmm - do we even need transformer-chain
protocol method?
Is it just for introspection?
I guess we're using it to assemble the interceptor chain
But I think we could move all of that into the transformer
function and then simplify Transformer
to a single value-transformer
method, which could be nice
@ikitommi do you have any thoughts on https://github.com/metosin/malli/pull/132
It ended up being critical for my application (the ability to encode the renaming of keys for future transformers) but I'm open to alternative approaches if you've got other ideas you want me to explore
Part of me thinks using metadata is odd - part of me thinks that this is the perfect use case for it
ie. it is metadata about how the new value was created... so maybe it makes sense?
One thing we may have to do though, if we end up sticking with that API, is merge the metadata about transformers as we compose them
Also, random aside, but malli is Finish, correct?