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

coll? maps to double in json schema transform #113

Closed
solussd opened this issue Apr 5, 2018 · 3 comments
Closed

coll? maps to double in json schema transform #113

solussd opened this issue Apr 5, 2018 · 3 comments
Labels

Comments

@solussd
Copy link

solussd commented Apr 5, 2018

(defmethod accept-spec 'clojure.core/coll? [_ _ _ _] {:type "double"})

This method is then redefined in the next form, so it's not really a bug, per se, at runtime.

@ikitommi
Copy link
Member

ikitommi commented Apr 5, 2018

Looks like it should be rational? (

; rational? (one-of [(large-integer) (ratio)])
(defmethod accept-spec 'clojure.core/coll? [_ _ _ _] {:type "double"})
)

@solussd
Copy link
Author

solussd commented Apr 5, 2018

I think that's right.

@ikitommi ikitommi added the bug label Apr 5, 2018
@ikitommi
Copy link
Member

Would you like to fix this?

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

No branches or pull requests

2 participants