This repository has been archived by the owner on Sep 1, 2023. It is now read-only.
forked from connectrpc/connect-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace *anypb.Any with interface in error details
Enough people rely on gRPC's error details API that we have to support it, which requires some way of working with the Any WKT. However, we don't like Any and plan to eventually introduce a better wrapper type, so we don't want to couple our APIs directly to the concrete *anypb.Any type. This PR replaces our use of *anypb.Any with an interface that captures the essential bits of Any's behavior. Even if we replace Any, our new type can easily (and probably should) implement this interface.
- Loading branch information
1 parent
735d799
commit aa66550
Showing
5 changed files
with
57 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
internal/gen/proto/go-rerpc/rerpc/ping/v1test/ping_rerpc.pb.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.