Decision: support core predicates or just keyword types? #25
Labels
Clojurists Together
Sponsored by Clojurists Together Q3 2020
for discussion
Discussion is main focus of PR
Milestone
Currently, the
malli.core/predicate-registry
collects all clojure core predicates and makes valid schemas out of those. This makes it feel like clojure.spec & data-specs:This is kinda nice, but all the predicates need to be mapped into types for coercion, so should we default to a (keyword)-type based basic registry, like
:int
,:string
etc instead?Currently, the latter can be done easily with custom registry, but the what should be the default?
The text was updated successfully, but these errors were encountered: