malli

https://github.com/metosin/malli :malli:
pithyless 2021-07-01T13:01:48.246400Z

Is there an existing PR or issue related to "dependent schemas" (i.e. returning a derivative schema, based on schema and value) that was mentioned on Jacek's podcast?

ikitommi 2021-07-01T15:49:58.247800Z

I don't think there is an issue yet.

Ben Sless 2021-07-01T15:51:31.248Z

Do you feel like there might be a need for a getting started guide? While the readme is comprehensive, I get the impression new users have a hard time building up beyond the simple examples. Something which starts from a simple base case, expands on it and illustrates malli's capabilities and features might be useful

ikitommi 2021-07-01T16:07:46.248700Z

That would be awesome. Everything under docs gets published to cljdoc. Could also be a separate documentation site, if someone has time to work with that.

ikitommi 2021-07-01T16:08:20.249500Z

examples of good doc sites (and tools to create them) would be a good start

Ben Sless 2021-07-01T16:15:03.250500Z

Docs and cljdoc are good enough imo, but I'm more of a content over presentation kind of guy

Ben Sless 2021-07-01T16:18:19.251Z

I'll start writing something. do you prefer adoc or md format?

Ben Sless 2021-07-01T16:18:59.251600Z

and on another note, any updates regarding the performance MRs I opened?

respatialized 2021-07-01T16:28:45.254900Z

stay tuned on that one, I'm working on a heavily malli driven static website generator that uses itself to document itself

πŸ‘€ 1
ikitommi 2021-07-01T16:30:26.257300Z

both formats good, whatever you prefer. Adoc is better, right? The perf PRS (and all others), will check those soon. Just started my vacation, should have more time to invest in malli now.

Ben Sless 2021-07-01T16:55:50.258Z

Aren't you supposed to take time off on vacation? πŸ™‚

Ben Sless 2021-07-01T16:56:46.258100Z

who am I kidding if I had time off I don't think I'd be able to keep away from the computer for more than a day

ikitommi 2021-07-01T17:14:40.258300Z

6 weeks, should have time for both πŸ˜‰

πŸ‘ 4
πŸ’― 3
🍻 4
Ben Sless 2021-07-01T17:24:58.258900Z

Looks wonderful. Have fun!

borkdude 2021-07-01T17:51:40.259100Z

6 weeks, wow

greg 2021-07-01T23:12:47.261500Z

Is it possible to write mali, convert it somehow to spec and use it for spec/fdef and orchestration?

ikitommi 2021-07-02T09:19:08.264100Z

no atm, but could be. Thing is that you can present things with malli that are impossible to present as specs, so it would not be complete like malli->JSON Schema , which is lossy. Still, I think 95% would work ok. There is malli-instrument library for doing the same with malli, if that’s ok for your use case.

greg 2021-07-02T14:09:43.271800Z

Makes sense. I wouldn't mind losing some of the malli features when instrumented as a spec. Some of the libraries (like integrant's pre-init-spec) support only spec. Although in my case, I use spec mostly for instrumentation of some bits. I was asking for such a conversion, as it sounds like the non-invasive way of trying malli in an existing project. Anyway, I will take a look at malli-instrument. Thanks.