@ikitommi is ::keys in this line a bug? https://github.com/metosin/malli/blob/master/src/malli/transform.cljc#L337
@steveb8n not a bug, it uses qualified keys for configuration: https://github.com/metosin/malli/blob/master/test/malli/transform_test.cljc#L207
ok. TIL a new destructing syntax 🙂
yes, a handy way to do that. Also,
{:keys [::json-vectors]}
would work.
@ordnungswidrig right, it the vector syntax for now.
is there something like a best-effort implementation of a json-schema to malli converter out there?
@d.eltzner012 don't think so, there is an old PR, but lot's of todos and last update from jul.
👍
👍 very cool still, I'll have a look at it
I have a half-baked implementation of this for converting kubernetes swagger into malli. I'm using malli to write a clojure kubernetes client with client side validation of operations (similar to aws-api). It handles recursive schemas at least but some of the kubernetes swagger is on the janky side so i'm sure it's not properly general. The whole library is still early stages. https://github.com/RutledgePaulV/kube-api/blob/master/kube-api-core/src/kube_api/core/swagger/malli.clj