Following the local registry example at https://github.com/metosin/malli#local-registry calling (malli.core/schema? Adult)
=> false
. This surprises me..
Is it not a schema? Why not?
itβs just data?
Ah, I see. I see it expects a Schema protocol.... and you can use m/schema
to turn the data into a Schema entity
I think the m/schema?
is not that useful, could be removed.
as most of the functions consume data, Schema
or IntoSchema
.
m/schema?
is used in some fdef specs in gungnir