We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In our business we are serializing BigDecimal to String with bson4jackson BsonGenerator.Feature.WRITE_BIGDECIMALS_AS_STRINGS
BsonGenerator.Feature.WRITE_BIGDECIMALS_AS_STRINGS
On the other side we require deserializing string to BigDecimal, however, currently this does not work with kmongo. It would be a simple change here:
kmongo/kmongo-jackson-mapping/src/main/kotlin/org/litote/kmongo/jackson/BsonModule.kt
Line 442 in 73b2496
is String -> BigDecimal(v)
Can this be implemented? Is a PR for this appreciated?
The text was updated successfully, but these errors were encountered:
@dosomder a PR would be much appreciated ;)
Sorry, something went wrong.
Great. Do you need a test or can I simply add the line?
a test would be great
Successfully merging a pull request may close this issue.
In our business we are serializing BigDecimal to String with bson4jackson
BsonGenerator.Feature.WRITE_BIGDECIMALS_AS_STRINGS
On the other side we require deserializing string to BigDecimal, however, currently this does not work with kmongo. It would be a simple change here:
kmongo/kmongo-jackson-mapping/src/main/kotlin/org/litote/kmongo/jackson/BsonModule.kt
Line 442 in 73b2496
which creates a BigDecimal object from the string.
is String -> BigDecimal(v)
Can this be implemented? Is a PR for this appreciated?
The text was updated successfully, but these errors were encountered: