@ikitommi I was noticing a regex/parse function in one of the examples. Why is there a special regex/parse function: shouldn't all schema's support parse - not only regex schemas? And maybe parse is just a special case of a transformer?
Note: this question is coming from a relatively inexperienced user of malli
@borkdude good question! it’s the internal api, not yet integrated into malli.core. after it’s integrated, there will ne a`-destructure` or -parse
method in Schema
. My first guess was that there is no need to have a reverse function for that in Schema
(like spec has conform
and unform
), but not 100% sure.
oh, haven’t pushed the current draft into github. will have time tomorrow for this, will push the stuff out.