malli icon indicating copy to clipboard operation
malli copied to clipboard

Quick poke on schematized def

Open ikitommi opened this issue 2 years ago • 3 comments

... should this fail always or just under instrumentation? Plumatic fails always.

TODO:

  • [ ] support :malli/always meta to fail early
  • [ ] collect schematized defs also to a registry (new registry or the current with a hint, it's not fn schema?)
  • [ ] tests
Screenshot 2022-10-28 at 16 55 31

ikitommi avatar Oct 28 '22 14:10 ikitommi

mx/defn only fails from isntrumentation. I think using :malli/always is the way to go here.

escherize avatar Feb 03 '23 18:02 escherize

:malli/always is a good idea!

ikitommi avatar Feb 04 '23 14:02 ikitommi

there is no way to collect non-function schemas atm. need to add support for it before this can be merged.

ikitommi avatar Mar 19 '23 14:03 ikitommi