Commit Graph

10 Commits

Author SHA1 Message Date
Sergei Vorobev b5b9230450 Revert the NewDefaultEventHandler and add deprecation note 2020-08-12 23:46:46 -07:00
Sergei Vorobev 3a2ce54ef4 Add -vv and move estimated size to this new very verbose format 2020-08-07 23:06:25 -07:00
Sergei Vorobev 60926d9bde Print size of the message in verbose mode 2020-08-07 22:24:36 -07:00
Adam Babik 8e51c5e2d3
cmd/grpcurl: add -allow-unknown-fields option (#147) 2020-07-23 10:54:06 -04:00
Joshua Humphries 939766fb42
Go tip does not like using string(i) where i untyped int (#159) 2020-05-14 19:38:08 -04:00
Serge Bazanski 8e2cf9b3c2
fix crash when emitting empty messages in text format (#153) 2020-04-23 16:20:45 -04:00
Joshua Humphries e5b4fc6cc0
add API to expose AnyResolver implementations backed by a DescriptorSource (#102) 2019-05-22 21:38:46 -04:00
Joshua Humphries 5d6316f470
Adds support for showing error details (#98)
To better support printing of google.protobuf.Any messages (error details), this
also makes a few other changes:
1. Allows printing of unresolvable Any messages using an "@value" field in JSON output
   that has the base64-encoded embedded message data.
2. Improves support for "-format text" to show expanded Any messages if possible.
   (Due to limitations in underlying proto package, this will usually *not* be
   that helpful. But this should greatly improve with v2 of the go protobuf API.)
3. Addresses a TODO in existing AnyResolver code to lazily fetch descriptors
   as needed instead of having to download all files eagerly.
2019-04-09 09:34:39 -04:00
Joshua Humphries 9fa2fce63b
make method invocation resilient to errors trying to load all files from server (#74) 2018-12-13 11:44:43 -05:00
Joshua Humphries 7cabe7a9d0
move more stuff from cmd to package (#59) 2018-10-19 14:47:25 -04:00