-
Notifications
You must be signed in to change notification settings - Fork 4
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
Provide a non-Java-serialization-based Borer codec for OffsetDateTime #12
Comments
I tried searching for a library that satisfies this condition, but couldn't find any. The Borer-official libraries include codecs for Akka and Cats, but not I have already implemented Codec for |
Yes, that's expected,
Again, we almost surely don't want that, as is goes against the philosophy of Borer |
Actually... how about https://github.com/plokhotnyuk/jsoniter-scala? Does it have some ready Borer codecs for |
It has a lot of Borer codecs, and some |
Ok so if you could replace the existing |
Let's resolve the jsoniter vs borer discussion first though: #7 (comment) |
Removing the This is not a production-ready implementation though, so this issue still remains open. |
Actually @sirthias ... can you think of any ready implementation? |
Writing a codec for AFAICS an It looks like a |
Let's wait for #27 to clarify first |
Small and more efficient implementations of |
Hmm @plokhotnyuk is the code you linked zio-json-specific in any way? can it be easily adapted for the use with e.g. Borer? 🤔 |
@PawelLipski No dependencies on zio or zio-json in the production code. Tests of that repo can be easily migrated from zio-test to scalatest or as an option you can choose to adopt these scalatest tests due to better coverage of negative cases. |
There doesn't seem to be anything (?) like that in borer-core library at least... I'm getting
Could not find implicit Encoder[java.time.OffsetDateTime] for parameter receivedAtUtc of case class ...
Maybe there is already another library (Borer-official or otherwise) that provides such codecs OOTB? Pls investigate
The text was updated successfully, but these errors were encountered: