spec-tools icon indicating copy to clipboard operation
spec-tools copied to clipboard

Extract reified clojure.spec Specs as Records

Open ikitommi opened this issue 9 years ago • 0 comments

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.

ikitommi avatar Feb 28 '17 08:02 ikitommi