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

chore: Remove JsonMessageCodec #67

Merged
merged 1 commit into from
Dec 6, 2024
Merged

chore: Remove JsonMessageCodec #67

merged 1 commit into from
Dec 6, 2024

Conversation

patriknw
Copy link
Member

@patriknw 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)
Copy link
Member Author

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

Copy link
Member

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)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and this

Copy link
Member

@octonato octonato left a 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)
Copy link
Member

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.

@octonato
Copy link
Member

octonato commented Dec 6, 2024

build broken because SPI snapshot

@patriknw
Copy link
Member Author

patriknw commented Dec 6, 2024

yes. we said we'll work with local snapshots until we have things in shape. some tests are failing as well

@patriknw patriknw merged commit aa3477b into java-spi Dec 6, 2024
7 of 8 checks passed
@patriknw patriknw deleted the wip-bytes6-patriknw branch December 6, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants