mirror of
https://github.com/fullstorydev/grpcurl.git
synced 2026-05-22 19:51:44 +03:00
Use latest protoreflect to fix some bugs (#453)
* update to latest jhump/protoreflect * be lenient when possible if server cannot furnish all dependencies * move linting back to go 1.21 instead of latest go 1.22 * make staticcheck happy
This commit is contained in:
@@ -600,6 +600,7 @@ func main() {
|
||||
refCtx := metadata.NewOutgoingContext(ctx, md)
|
||||
cc = dial()
|
||||
refClient = grpcreflect.NewClientAuto(refCtx, cc)
|
||||
refClient.AllowMissingFileDescriptors()
|
||||
reflSource := grpcurl.DescriptorSourceFromServer(ctx, refClient)
|
||||
if fileSource != nil {
|
||||
descSource = compositeSource{reflSource, fileSource}
|
||||
|
||||
Reference in New Issue
Block a user