Fork me on GitHub
#malli
<
2020-01-05
>
roklenarcic15:01:35

there;’s a lot of branches in repo that have been merged and not deleted

ikitommi21:01:42

sure there is, I guess there is no automation removing those after merge/rebase.

eskos11:01:42

You do need to delete the old merged branches manually though; Google will find you some bash scripts for that.

ikitommi21:01:18

would like to break thing a bit: mt/strip-extra-keys-transformer should be a function of options => Transformer , not a Transformer. Question: should it remove extra keys by default: a) from all maps (open or closed) b) only from closed maps

ikitommi21:01:41

will add a option to control this, but leaning on a) as the default.

roklenarcic22:01:48

hm… how do I make a transformer that uses a schema property as param to transform function

roklenarcic22:01:20

you have this showcased in the :compile option example

roklenarcic22:01:50

but I’d like to look up something like that `

:math/multiplier
in the default transformer function

roklenarcic22:01:43

e.g. I have datetime schema and it’s transformer would like to check if schema had :format property

roklenarcic23:01:04

the :compile thing requires one to add it to every use-site

roklenarcic23:01:14

oh, I see how it’s done elsewhere, ignore that