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
Both common files contain definition of StaticRoute msg. reqest.proto imports the one from /a/b/c/d/. After conversion of proto files into reflection objects (root), root.lookUp() returns wrong definition from wrong namespace (a/b/ instead of a/b/c/d)
The text was updated successfully, but these errors were encountered:
80220
changed the title
Wrong resolution of imported message type via root.lookUp()
Wrong resolution of imported message type via root.lookup()
Sep 12, 2022
protobuf.js version: master (6254efb)
Problem originates from: JennieJi/protobuf2swagger#19. I wonder if failure in protobuf2swagger is a result of a bug in protobuf.js.
proto input is:
Both common files contain definition of StaticRoute msg. reqest.proto imports the one from /a/b/c/d/. After conversion of proto files into reflection objects (root), root.lookUp() returns wrong definition from wrong namespace (a/b/ instead of a/b/c/d)
I pushed failing testcase into forked branch: master...80220:protobuf.js:patch/wrong_resolution
The text was updated successfully, but these errors were encountered: