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
construct(dict)
doesn't convert types
#99
Comments
The problem is that construct uses t.Int and not t.ToInt. We changed this in 2.0 that Int will not convert '1' to 1, only ToInt will.
I'm not sure if we need change construct behaviour about |
Ah, what I'm trying to do is to replicate the old behavior of I am personally completely ok with the new syntax. The only question I have now is how to properly check for error with types conversion. Should I sequentially call |
2.0.2 has fixed behaviour |
It works, thank you :) |
I'm not sure if it's the intended behavior, but in 0.12 it worked without wrapping into
t.Dict
:The text was updated successfully, but these errors were encountered: