Fork me on GitHub
#malli
<
2023-03-18
>
fuad00:03:04

Can a local registry be a composite registry? I'm trying something like

[:map {:registry
       (malli.registry/composite-registry
         (malli/default-schemas)
         (malli.time/schemas))}
  ...]
and that gives me a
Exception: java.lang.IllegalArgumentException: Don't know how to create ISeq from: malli.registry$composite_registry$reify__6973

fuad00:03:35

If I use a plain map it works fine.

ikitommi07:03:51

for now, not. But not sure if there is any good reason for not working.

ikitommi08:03:25

please check if there is an issue of this, if not, could you make one?

fuad18:04:40

Hey! I got bitten by this today again, https://github.com/metosin/malli/issues/1048!

ikitommi18:03:55

small-big release`[metosin/malli "0.10.3"]` to celebrate the 2.5M downloads 🥳 • Add support for default branch ::m/default for :map schema, https://github.com/metosin/malli/pull/871mt/strip-extra-keys-transformer works with :map-ofm/default-schema to get the ::m/default schema from entry schema • m/explicit-keys to get explicit keys from entry schema (no ::m/default) • Simplify content-dependent schema creation via new 3-arity :compile function, https://github.com/metosin/malli/pull/866 • FIX Repeated calls to malli.util/assoc-in referencing non-existing maps fail, https://github.com/metosin/malli/issues/874 • Updated dependencies (`borkdude/edamame`) full details: https://github.com/metosin/malli/blob/master/CHANGELOG.md#0103-2023-03-18

🎉 12
ikitommi16:03:53

… and [metosin/malli "0.10.4"] on top of that, had a extra debug print in malli.swagger causing reitit-build to fail.