desc
command does not work when the symbol is defined in an imported file
#588
Labels
desc
command does not work when the symbol is defined in an imported file
#588
Describe the bug
When a message is defined in another proto file and it is imported in a service, the
desc
command results incommand desc: failed to get the type descriptor: failed to get the type descriptor of 'SampleMsg': unknown symbol
To reproduce
Define a proto file with a message definition as follows.
Import this in another file.
Reflect this using the cli and use the
desc SampleMsg
command to check the message description.Expected behavior
+------------+--------------------+-----------------+
| FIELD | TYPE | REPEATED |
+------------+--------------------+-----------------+
| latitude | TYPE_INT32 | false |
| longitude | TYPE_INT32 | false |
+------------+--------------------+-----------------+
Screenshots
Environment
protoc
version: 21.5protoc
plugin version (if you are using):Additional context
The text was updated successfully, but these errors were encountered: