-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow buf curl to use multiple schemas when resolving elements (#2587)
This enables the use of multiple `--schema` flags, and it also enables using both `--reflect` and `--schema`. By default, if a `--schema` flag is present, reflection is not used. But if one also explicitly specifies `--reflect`, then both will be used. This allows resolving elements in an RPC that may fall outside the module that defines the RPC method. This can happen if responses use extensions or google.protobuf.Any messages (which includes the use of error details).
- Loading branch information
Showing
4 changed files
with
152 additions
and
20 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