-
Notifications
You must be signed in to change notification settings - Fork 104
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
Can't find a codec for class java.time.Instant. #201
Comments
This piece of code can be used as a workaround:
|
Hint: Possibly updating mongo-java-driver to 4.1 may resolve this issue as it seems that codes for |
@RGTK we would consider a PR that upgrades the driver and adds a test :) |
This issue is not reproduced anymore. Tested on version 3.5.0 |
You are welcome to submit a PR |
Well, the only thing that can be added are two additional tests for conversions between |
When inserting (
monger.collection/insert) a document having
java.time.Instant` in values, error is thrown:Since monger includes support for joda-time codecs, maybe it would be a good idea to include built-in
java.time.Instant
too?The text was updated successfully, but these errors were encountered: