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

Make remoteDataConverter implement PayloadCodec #1303

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

dandavison
Copy link
Contributor

@dandavison dandavison commented Nov 27, 2023

What was changed

  • Split remoteDataConverter into separate PayloadCodec and DataConverter

Why?

Checklist

  1. How was this tested: Use gRPC interceptor instead of data converter for encoding/decoding cli#384

  2. Any docs updates needed?
    No. The change is backwards compatible.

@cretz
Copy link
Member

cretz commented Nov 27, 2023

I wonder if it'd be clearer to just have a NewRemoteCodec

@dandavison dandavison marked this pull request as ready for review December 1, 2023 10:55
@dandavison dandavison requested a review from a team as a code owner December 1, 2023 10:55
@dandavison dandavison force-pushed the remote-payload-codec branch from d40bf88 to 73b459a Compare December 1, 2023 11:03
@dandavison dandavison force-pushed the remote-payload-codec branch 2 times, most recently from bf7aeb2 to 5d36436 Compare December 3, 2023 22:17
converter/codec.go Show resolved Hide resolved
converter/codec.go Outdated Show resolved Hide resolved
@dandavison dandavison force-pushed the remote-payload-codec branch from c039b54 to 095cbce Compare December 4, 2023 18:25
@dandavison dandavison merged commit 987379d into temporalio:master Dec 4, 2023
10 checks passed
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.

3 participants