malli

https://github.com/metosin/malli :malli:
ikitommi 2020-09-29T10:05:44.019800Z

I must have asked this before, but is there an example how to add tests “works on GraalVM too”?

ikitommi 2020-09-29T10:16:21.022Z

Current:

(m/schema [:tuple int? int?])
; => [:tuple int? int?]
Should it be:
(m/schema [:tuple int? int?])
; => #malli/schema[:tuple int? int?]

(m/form (m/schema [:tuple int? int?]))
; => [:tuple int? int?]
GOOD: • schemas look like schemas, not forms BAD: • can’t pr-str a schema and read it back with m/schema, would need malli.edn/read-string