Skip to content
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

Support deserialization of job messages via SerializerWithStringManif… #335

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

danne931
Copy link

Support deserialization of job messages via SerializerWithStringManifest or Serializer when IncludeManifest = true.

Fixes #334

Changes

This change allows for custom serializers defined with SerializerWithStringManifest or Serializer when IncludeManifest = true to have the appropriate type info passed into FromBinary. The manifest type info is saved during job creation, allowing the deserialization process to support the manifest type hint provided by a custom serializer.

This PR is related to another issue #215 but I don't think it's quite the same. From reading @object comments on the state of that issue I believe the remaining piece to solve there is allowing Akka.Hosting .WithCustomSerializer (or hocon config) to associate a custom serializer with a specific type (other than System.Object). My PR still requires config to associate a custom serializer with System.Object, rather than a more refined type.

…est or Serializer when IncludeManifest = true.
@danne931
Copy link
Author

danne931 commented Dec 7, 2023

Any feedback on this PR @Arkatufus ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for preserving type info throughout serialization/deserialization process
1 participant