We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It'd be cool to provide encoded protobuf support in addition to JSON from the endpoints generated by grpc-gateway. This can be done by switching on the incoming request's content type as is done in MarshalResponse and UnmarshalRequest in https://github.com/cockroachdb/cockroach/blob/master/util/http.go
MarshalResponse
UnmarshalRequest
The text was updated successfully, but these errors were encountered:
@tamird that is a cool use case. But, I think you missed a line number anchor in your example.
Sorry, something went wrong.
Didn't intend to line anchor - look for the functions I mentioned by name.
This is sufficiently supported now. See cockroachdb/cockroach#6754 for an example.
No branches or pull requests
It'd be cool to provide encoded protobuf support in addition to JSON from the endpoints generated by grpc-gateway. This can be done by switching on the incoming request's content type as is done in
MarshalResponse
andUnmarshalRequest
in https://github.com/cockroachdb/cockroach/blob/master/util/http.goThe text was updated successfully, but these errors were encountered: