Implicit conversion from BigInteger to Long #3792
Answered
by
filiphr
andreiyusupau
asked this question in
Q&A
-
For some reason implicit conversion from BigInteger to Long uses |
Beta Was this translation helpful? Give feedback.
Answered by
filiphr
Jan 18, 2025
Replies: 1 comment 2 replies
-
@andreiyusupau have you looked into the |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
andreiyusupau
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@andreiyusupau have you looked into the
Mapper#typeConversionPolicy
? This one provides a way to generate a compile warning or error if there is a potential lossy conversion such is converting fromBigInteger
tolong
.