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

gogo/protobuf is unmaintained #658

Closed
pquerna opened this issue Dec 1, 2021 · 6 comments · Fixed by #1256
Closed

gogo/protobuf is unmaintained #658

pquerna opened this issue Dec 1, 2021 · 6 comments · Fixed by #1256
Assignees
Labels
external dependency Waiting on something externally potential-bug

Comments

@pquerna
Copy link

pquerna commented Dec 1, 2021

Expected Behavior

github.com/gogo/protobuf is unmaintained: gogo/protobuf#691

At this point it would be nice for the Client SDK to consider using the standard protobuf library.

Actual Behavior

Seems blocked on temporalio/temporal#38

But google.golang.org/protobuf is the defacto dependency at this point, and the client SDK, its unclear if the performance concerns are warranted for general purpose worker clients or other non-temrporal core uses of the APIs?

@pquerna pquerna changed the title gogo/protobuf is unmaintained, gogo/protobuf is unmaintained Dec 1, 2021
@cretz
Copy link
Member

cretz commented Dec 3, 2021

Yes, there are discussions to be had on whether the performance difference is worth it. I am gathering feedback from others.

@cretz cretz added the external dependency Waiting on something externally label Dec 3, 2021
@cretz
Copy link
Member

cretz commented Dec 9, 2021

Yes, this issue is blocked on temporalio/temporal#38 or similar since we share https://github.com/temporalio/api-go. I will leave this open pending that issue.

@ash2k
Copy link

ash2k commented Jan 31, 2024

This issue is closed but the gogo dependency is still in the go.mod file. Any chances of getting rid of it completely? Also, would be nice to get a release with the change. Thank you.

@Quinn-With-Two-Ns
Copy link
Contributor

gogoproto is still in the mod file because ProtoJSONPayloadConverter and ProtoPayloadConverter support gogoproto structs and we did not remove support for backwards compatibility

@vikstrous2
Copy link

Can you guys find a way to make this dependency optional? How long is this backwards compatibility code needed?

@cretz
Copy link
Member

cretz commented Apr 15, 2024

Usually quite a while. But this dependency should be harmless if you don't use it, it's only for people that still use gogoproto in their protos. Can you clarify the issues that this dependency is causing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external dependency Waiting on something externally potential-bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants