-
Notifications
You must be signed in to change notification settings - Fork 9
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
Kotlin Serializer implementation #13
Comments
If you go down this route, @Blackdread, make sure the provided serializer works as expected for every object the framework serializes and deserializes at any point in the code base. Added, if you could share some benefits of providing a |
Kotlin serialization has reached a first stable release |
See #124. I added a basic implementation of a Kotlin serializer that works with the Axon interface. There are test cases to demonstrate how it works. Ref https://kotlinlang.org/docs/serialization.html with basic overview. I can give some benefits of the Kotlin Serialization approach:
A possible disadvantage is the compiler plugin that is needed to generate the serialization implementation for each class. |
I've adjusted the milestone to 0.3.0 instead of 0.2.0. The intent for this is the desire to release 0.2.0 of the Kotlin extension. |
I know this is a very old issue, bit this is fixed with #338 :) |
Very nice, thanks @lion7! |
I have not looked into it yet but I think it can be useful to provide something similar to JacksonSerializer/XStreamSerializer/etc using kotlinx.serialization.
Since I had issues with Jackson with default values and inline class: event changes
Using kotlinx.serialization may be a better solution.
If not mistaken, they do not support inline class yet but it will come later for sure.
I will try an implementation later of org.axonframework.serialization.Serializer using kotlinx.serialization.
The text was updated successfully, but these errors were encountered: