Skip to content

Commit

Permalink
Be lenient when possible when server can't provide all files (fullsto…
Browse files Browse the repository at this point in the history
  • Loading branch information
jhump authored Apr 10, 2024
1 parent bb1b218 commit 0d16d85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/grpcui/grpcui.go
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ func main() {
md := grpcurl.MetadataFromHeaders(append(addlHeaders, reflHeaders...))
refCtx := metadata.NewOutgoingContext(ctx, md)
refClient = grpcreflect.NewClientV1Alpha(refCtx, reflectpb.NewServerReflectionClient(cc))
refClient.AllowMissingFileDescriptors()
reflSource := grpcurl.DescriptorSourceFromServer(ctx, refClient)
if fileSource != nil {
descSource = compositeSource{reflSource, fileSource}
Expand Down

0 comments on commit 0d16d85

Please sign in to comment.