malli icon indicating copy to clipboard operation
malli copied to clipboard

Schema for validating malli vector/map/lite syntax

Open zerg000000 opened this issue 2 years ago • 1 comments

It would be nice to have a schema of malli vector/map/lite syntax. Since

  • it provides a better error message when we define malli schema, currently, we get a ":malli.core/invalid-schema"
  • user could check their schema before actually using it programmatically
  • open the possibility of clj-kondo checking?
  • Itself is a complete test suite/example of the malli capability
  • A specification of the syntax

zerg000000 avatar May 27 '23 07:05 zerg000000

Agree. Resolution for vector-syntax is resolved with:

  • https://github.com/metosin/malli/issues/269
  • https://github.com/metosin/malli/issues/270

need to figure out how to create schema definitions without too much duplicaition (ast vs vector vs lite).

ikitommi avatar May 27 '23 10:05 ikitommi