Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clojure.spec.alpha support #140

Open
asilverman opened this issue Feb 27, 2019 · 1 comment
Open

clojure.spec.alpha support #140

asilverman opened this issue Feb 27, 2019 · 1 comment

Comments

@asilverman
Copy link

Hi @dakrone - I wanted to get your thoughts on providing a predicate function that can be used in conjunction with clojure spec called json? that one could add into a clojure.alpha.spec/valid? statement.

Thank you!

@dakrone
Copy link
Owner

dakrone commented Feb 27, 2019

Hi @asilverman, I believe clojure spec is only compatible with Clojure 1.9+ correct? Cheshire still maintains compatibility back to Clojure 1.3, so it'd have to drop support for the earlier versions in order to support spec. That doesn't mean that it can't change in the future, just a tradeoff to consider.

If it could be an optional dependency that might be an option, but I'm not sure how closely it'd have to be integrated to know that for sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants