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

Unable to parse spec with s/nonconforming #263

Open
SevereOverfl0w opened this issue Nov 11, 2021 · 1 comment
Open

Unable to parse spec with s/nonconforming #263

SevereOverfl0w opened this issue Nov 11, 2021 · 1 comment

Comments

@SevereOverfl0w
Copy link

user=> (spec-tools.parse/parse-spec (s/nonconforming int?))
{:type nil}

I believe this defmethod is correct though, s/nonconforming only needs to delegate immediately to "pass through" the spec it is wrapping.

(defmethod spec-tools.parse/parse-form 'clojure.spec.alpha/nonconforming [_ form options]
  (spec-tools.parse/parse-spec-with-spec-ref (second form) options))
@ikitommi
Copy link
Member

PR welcome!

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