Fork me on GitHub
#malli
<
2021-04-05
>
emccue13:04:54

Relevant to the above, it feels like you could make spec out of malli but not the other way around

☝️ 6
nilern18:04:00

There is more in the box for sure. On the other hand it's good that Spec does not have all that because it is in core

emccue18:04:09

How much of that "in the box"-ness is just about having a single maven artifact and how much is actual interdependency though?

nilern19:04:29

At least in theory we could just have the schema introspection and everything else could use that and live in separate jars

nilern19:04:08

But currently there is a monolithic schema protocol which does set a lower bound on the box size

nilern19:04:18

See also https://clojure.atlassian.net/browse/CLJ-2251 but I recall Tommi saying that walking Specs would still be janky

marciol19:04:43

There is spec/visitor in spec-tools @nilern. I think that the real problem is that it's impossible to decode serialized specs in runtime.

marciol19:04:37

You can go only one way without a proper way to reverse

nilern19:04:23

Yes the ticket mentions spec-tools and various details that I know little about since i never touched spec-tools