spec-tools
spec-tools copied to clipboard
Extract reified clojure.spec Specs as Records
if (st/spec (s/keys :req [::id ::name]) would return a spec-tools.core/KeysSpec instead of spec-tools.core/Spec, we could add custom protocols ourselves, like Coercion and JSONSchema. Coercion would allow selective conforming without the dynamic vars. Nice.