You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First and foremost, we should add documentation to all the public fields and services in the AxonSerializer file.
This will help our users to deal with our Kotlin serialization support.
Furthermore, and more importantly, the ReplayTokenSerializer currently does not support the ReplayToken#context field.
This field was moved to a latter issue, since we wanted to investigate whether we could cleanly support a context of type Any with Kotlin's serialization logic.
Sadly enough, there's no straightforward solution to this; not without adjusting the context field of the ReplayToken in Axon Framework itself.
That is, however, a breaking change, and as such, cannot be done.
Instead, we'll adjust the context field in Axon Framework 5, which is currently being worked on.
Because of the foresight to AF5, we feel it's justified to stick to a String-based context in the ReplayToken.
This should also allow more complex objects as the context, although it requires the user to do the de-/serialization, instead of AF.
Current Behaviour
We're lacking documentation on all the public fields and services in the AxonSerializer, which we should cover for our users.
Furthermore, the ReplayToken#context should be supported in the ReplayTokenSerializer.
Wanted Behaviour
Documentation on all public fields and components in the AxonSerializer.
Support for a String-based ReplayToken#context
Possible Workarounds
None
The text was updated successfully, but these errors were encountered:
Enhancement Description
First and foremost, we should add documentation to all the public fields and services in the
AxonSerializer
file.This will help our users to deal with our Kotlin serialization support.
Furthermore, and more importantly, the
ReplayTokenSerializer
currently does not support theReplayToken#context
field.This field was moved to a latter issue, since we wanted to investigate whether we could cleanly support a
context
of typeAny
with Kotlin's serialization logic.Sadly enough, there's no straightforward solution to this; not without adjusting the
context
field of theReplayToken
in Axon Framework itself.That is, however, a breaking change, and as such, cannot be done.
Instead, we'll adjust the
context
field in Axon Framework 5, which is currently being worked on.Because of the foresight to AF5, we feel it's justified to stick to a String-based
context
in theReplayToken
.This should also allow more complex objects as the
context
, although it requires the user to do the de-/serialization, instead of AF.Current Behaviour
We're lacking documentation on all the public fields and services in the
AxonSerializer
, which we should cover for our users.Furthermore, the
ReplayToken#context
should be supported in theReplayTokenSerializer
.Wanted Behaviour
AxonSerializer
.ReplayToken#context
Possible Workarounds
None
The text was updated successfully, but these errors were encountered: