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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate the textpb codec #875

Merged
merged 1 commit into from
May 23, 2024
Merged

Deprecate the textpb codec #875

merged 1 commit into from
May 23, 2024

Conversation

jhump
Copy link
Member

@jhump jhump commented May 23, 2024

I wish I had done this before v1.0 so I could have just removed it without it being a back-compat issue. Oh well 馃し

The only reason I added it to begin with is because I could have sworn I had seen this supported in grpc-web -- not the official one, but an early version of the improbable-eng one. It was used to make payloads human-readable in a browser network inspector (JSON wasn't an option because the protobuf-js runtime doesn't support JSON encoding).

But I can't actually find anything about this now in the improbable-eng/grpc-web repo (even in the history, in case it used to be there and then they removed it). @gtg471h was investigating using grpc-web at FullStory several years ago, and we had looked at some of this together for how to get our Go backends to work with it... or so I thought. Am I misremembering this? (Maybe we had played around with a fork of the project that would send text?)

Anyhow, if there's nothing that supports this out-of-the-box, I find it highly unlikely that anyone would intentionally extend their gRPC or Connect deployments to use this format, so let's ax it.

Signed-off-by: Josh Humphries <2035234+jhump@users.noreply.github.com>
@jhump jhump requested a review from smaye81 May 23, 2024 18:14
@jhump jhump merged commit d43228d into main May 23, 2024
8 checks passed
@jhump jhump deleted the jh/textpb branch May 23, 2024 18: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.

None yet

2 participants