You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The *Definition structures that proto-loader returns each have a fileDescriptorProtos field which include the files needed to resolve each type. The file descriptor includes a "dependency list" of files that they require but this is currently always returning nothing
We are working around this in the @grpc/reflection package by manually adding those dependencies based on the proto definitions with this visitor-pattern-based logic
The text was updated successfully, but these errors were encountered:
Problem description
The
*Definition
structures that proto-loader returns each have afileDescriptorProtos
field which include the files needed to resolve each type. The file descriptor includes a "dependency list" of files that they require but this is currently always returning nothingThis was discussed in #79
Reproduction steps
This can be reproduced using the following two proto file definitions:
sample.proto
vendor.proto
this then inspected using the following code:
we would expect that
sample.proto
would includevendor.proto
in its dependency list due to the import and usage of it in theHelloResponse
fieldEnvironment
[email protected]
Additional context
We are working around this in the
@grpc/reflection
package by manually adding those dependencies based on the proto definitions with this visitor-pattern-based logicThe text was updated successfully, but these errors were encountered: