malli

https://github.com/metosin/malli :malli:
ikitommi 2020-06-14T07:17:38.045300Z

Going to change how the registry is composed. Goal is to allow easy bootstrapping of custom registries. Allows much smaller bundle size on cljs and one can (hopefully) easily add custom registries.

ikitommi 2020-06-14T07:21:02.047600Z

few sample sizes (gzipped), for malli.core (just validation): • current (full): 12kb • just :map , :vector and :string: 4kb • just :string: 700b

👍 2
ikitommi 2020-06-14T07:25:45.049600Z

I was surprised that the closure dce actually removes all the protocol method impls too if there is nothing using those methods. e.g. not using m/decode or m/encode => all -transformer impls are removed under :advanced. This is really, reaaly, great.

😲 3
ikitommi 2020-06-14T07:26:54.050400Z

app that uses all the features from malli, might still be big, e.g. validation, human errors, transformation, programming with schemas etc.

naomarik 2020-06-14T18:36:03.050900Z

nice!

naomarik 2020-06-14T18:36:30.051100Z

one step closer to malli frontend domination