buf icon indicating copy to clipboard operation
buf copied to clipboard

buf convert error messages should be more clear when type does not exist in input

Open joshcarp opened this issue 2 years ago • 1 comments

Expected:

buf convert . --from=payload.json --to=- --type=Person          
Failure: proto: not found

Actual

buf convert . --from=payload.json --to=- --type=Person          
Failure: type Person not found in input

joshcarp avatar Mar 28 '23 15:03 joshcarp

@saquibmian this is low priority, no need for this for now

bufdev avatar Mar 30 '23 17:03 bufdev

Closing this for now since this message is coming from protoreflect and is currently an upstream concern. In the future, we may invest in cleaning up messages from upstream packages, but that should be captured in a broader effort.

doriable avatar Jun 10 '24 15:06 doriable