You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using grpc richer error response, we sometimes want to pass custom type in Status.details instead of well-known details.
Now it fails for unframed http transcoding requests since the error marshaller doesn't know custom types and there is no way to register custom types.
The text was updated successfully, but these errors were encountered:
Motivation:
- A user can't use custom JSON marshaller for unframed grpc error.
Modifications:
- Implement `UnframedGrpcErrorHandlerBuilder` which takes a custom json
marshaller
Result:
- Closes#4723.
- A user can use their custom JSON marshaller for unframed grpc error.
Dogacel
pushed a commit
to Dogacel/armeria
that referenced
this issue
Jun 8, 2024
Motivation:
- A user can't use custom JSON marshaller for unframed grpc error.
Modifications:
- Implement `UnframedGrpcErrorHandlerBuilder` which takes a custom json
marshaller
Result:
- Closesline#4723.
- A user can use their custom JSON marshaller for unframed grpc error.
In short, implements this TODO comment.
When using grpc richer error response, we sometimes want to pass custom type in
Status.details
instead of well-known details.Now it fails for unframed http transcoding requests since the error marshaller doesn't know custom types and there is no way to register custom types.
The text was updated successfully, but these errors were encountered: