-
Notifications
You must be signed in to change notification settings - Fork 222
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
Long type user input coercion missing implicit conversion from java.math.BigDecimal #995
Comments
|
They are different types. I used the following code to test this:
Without the
|
OK. Would you have time/do you want to open a PR for that? |
BTW, I found that in Scala 2.11, the class implicit conversion of
We are using Scala 2.13. Yes, I think I can submit a PR to address this. |
@majjhima any news on this? |
We have been using Long type variables for output in our schema, but after adding an input variable of type Long, I would get an error message like:
After copying the LongType implicit conversion code to create a custom
implicit val TimestampType: ScalarType[Long]
and adding some debug output to test the user input datatype, I found:The existing code has:
but actually seems to need something like:
The text was updated successfully, but these errors were encountered: