Hello, in compojure-api i can define enum with (http://shema.co/enum :L :M :S) with Schema. How can i do the same thing with clojure.spec? Which approaches is more recommended? schema or spec?
nevermind, i got it. To anyone that facing the same problem, use spec-tools.data-spec/opt.