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

(m/decode int? "23.abc" mt/string-transformer) gives 23 Integer on cljs on clj "23.abc" #199

Closed
geraldodev opened this issue May 2, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@geraldodev
Copy link

geraldodev commented May 2, 2020

Hi,

(require '[malli.core :as m])
(require '[malli.transform :as mt])
(m/decode int? "23.abc" mt/string-transformer)

"23.abc" on clojure because it is invalid
23 Integer on clojurescript which appears to be wrong.

@ikitommi
Copy link
Member

ikitommi commented May 3, 2020

I don't think it's right. PR welcome to fix this.

@ikitommi ikitommi added the bug Something isn't working label May 3, 2020
@geraldodev
Copy link
Author

#200

@ikitommi
Copy link
Member

This is fixed in master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants