-
Notifications
You must be signed in to change notification settings - Fork 5
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
chore: Remove JsonMessageCodec #67
Conversation
patriknw
commented
Dec 6, 2024
- now fully replaced by JsonSerializer
* now fully replaced by JsonSerializer
@@ -598,7 +597,7 @@ private final class Sdk( | |||
|
|||
// FIXME pull this inline setup stuff out of SdkRunner and into some workflow class | |||
val workflowStateType: Class[S] = Reflect.workflowStateType(workflow) | |||
messageCodec.registerTypeHints(workflowStateType) | |||
serializer.registerTypeHints(workflowStateType) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@octonato this is of importance for workflows
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, I just rebase and fixed my branch.
anyway, let's do it.
@@ -610,7 +609,7 @@ private final class Sdk( | |||
case callStep: Workflow.CallStep[_, _, _, _] => | |||
List(callStep.callInputClass, callStep.transitionInputClass) | |||
} | |||
.foreach(messageCodec.registerTypeHints) | |||
.foreach(serializer.registerTypeHints) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -598,7 +597,7 @@ private final class Sdk( | |||
|
|||
// FIXME pull this inline setup stuff out of SdkRunner and into some workflow class | |||
val workflowStateType: Class[S] = Reflect.workflowStateType(workflow) | |||
messageCodec.registerTypeHints(workflowStateType) | |||
serializer.registerTypeHints(workflowStateType) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, I just rebase and fixed my branch.
anyway, let's do it.
build broken because SPI snapshot |
yes. we said we'll work with local snapshots until we have things in shape. some tests are failing as well |