Fork me on GitHub
#malli
<
2019-12-18
>
rschmukler16:12:50

@ikitommi I haven't looked at the code at all yet, but how difficult do you think it would be to extend the malli.provider to be pluggable / use transformers? ie. Ideally I could specify a transformer and it'd try transformations in there, and it'd check types that exist in the registry when called

rschmukler16:12:57

Looking at the code - doesn't look like it'd be too hard to make it take a transformer!

rschmukler16:12:25

The only thing would be handling the fact that multiple transformers could pass and then having to keep track of which one was most successful

rschmukler16:12:36

But we are kinda already doing that with the type anyway