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

Rewrite service proxy and interceptor to use new api-go code. #974

Merged
merged 15 commits into from
Jan 9, 2023

Conversation

robholland
Copy link
Contributor

@robholland robholland commented Dec 5, 2022

What was changed

SDK code refactored to use new api-go APIs.

Why?

This is done to avoid tightly coupling sdk-go package to api versions, see: #971

Checklist

  1. Closes Move most interceptor/proxy-based code gen to api-go #971

  2. How was this tested:
    Existing test coverage adjusted to suit.

  3. Any docs updates needed?
    No.

Copy link
Member

@cretz cretz left a comment

Choose a reason for hiding this comment

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

Awesome. Let's wait on API go to be tagged of course

client/service_proxy.go Outdated Show resolved Hide resolved
converter/grpc_interceptor.go Show resolved Hide resolved
converter/grpc_interceptor.go Outdated Show resolved Hide resolved
converter/grpc_interceptor.go Outdated Show resolved Hide resolved
converter/grpc_interceptor.go Outdated Show resolved Hide resolved
internal/failure_converter.go Show resolved Hide resolved
converter/failure_converter.go Outdated Show resolved Hide resolved
converter/failure_converter.go Show resolved Hide resolved
@robholland robholland marked this pull request as ready for review December 15, 2022 10:13
@robholland robholland requested a review from a team as a code owner December 15, 2022 10:13
Copy link
Member

@cretz cretz left a comment

Choose a reason for hiding this comment

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

LGTM. As mentioned in other approval, will wait for api-go to be tagged and updated in go.mod here.

@robholland
Copy link
Contributor Author

temporalio/api-go#100 now merged, just waiting on a new release before updating this.

@cretz
Copy link
Member

cretz commented Jan 6, 2023

@robholland - https://github.com/temporalio/api-go has now been tagged as 1.14.0 whenever you want to update this

@robholland robholland merged commit 3dc5e1e into master Jan 9, 2023
@robholland robholland deleted the rh-proxy-move branch January 9, 2023 10:50
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.

Move most interceptor/proxy-based code gen to api-go
2 participants