malli

https://github.com/metosin/malli :malli:
ikitommi 2021-04-05T11:24:39.317500Z

https://twitter.com/puredanger/status/1378850899091578881

2
emccue 2021-04-05T13:54:54.318100Z

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

☝️ 2
nilern 2021-04-05T18:21:00.320400Z

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

emccue 2021-04-05T18:38:09.321500Z

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

nilern 2021-04-05T19:00:29.323Z

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

nilern 2021-04-05T19:02:08.323900Z

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

nilern 2021-04-05T19:05:18.325100Z

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

marciol 2021-04-05T19:20:43.328600Z

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.

marciol 2021-04-05T19:21:37.329100Z

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

nilern 2021-04-05T19:29:23.330100Z

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