-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Respect "grpc-status-details-bin" trailer on error response #51394
Conversation
Thanks for your PR, @alrz. Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
Looks like this PR hasn't been active for some time and the codebase could have been changed in the meantime. |
@JamesNK PTAL |
@JamesNK for review. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. There are some changes required before merging. The main one is support for ServerCallContext.ResponseTrailers
.
...g/src/Microsoft.AspNetCore.Grpc.JsonTranscoding/Internal/JsonTranscodingServerCallContext.cs
Outdated
Show resolved
Hide resolved
...g/src/Microsoft.AspNetCore.Grpc.JsonTranscoding/Internal/JsonTranscodingServerCallContext.cs
Outdated
Show resolved
Hide resolved
...nscoding/test/Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests/UnaryServerCallHandlerTests.cs
Show resolved
Hide resolved
...JsonTranscoding/src/Microsoft.AspNetCore.Grpc.JsonTranscoding/Internal/JsonRequestHelpers.cs
Outdated
Show resolved
Hide resolved
@@ -164,7 +168,7 @@ protected override Metadata RequestHeadersCore | |||
|
|||
protected override CancellationToken CancellationTokenCore => HttpContext.RequestAborted; | |||
|
|||
protected override Metadata ResponseTrailersCore => throw new NotImplementedException(); | |||
protected override Metadata ResponseTrailersCore { get; } = new(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this is supposed to end up in response headers for non-binary entries.
Thanks! |
@JamesNK I'm not familar with how PRs are triaged here, could this kind of fix possibly make it to a point release? |
Hi @alrz. It looks like you just commented on a closed PR. The team will most probably miss it. If you'd like to bring something important up to their attention, consider filing a new issue and add enough details to build context. |
No, this is a new feature. It will come in .NET 9 |
Fixes #49196