protoc-plugin icon indicating copy to clipboard operation
protoc-plugin copied to clipboard

option go_package bug

Open Rkiouak opened this issue 5 years ago • 1 comments

Given a foo.proto importing another bar.proto, if bar.proto uses a go_package option, the require of the bar ns in the foo ns will be output as [ :as ]

This is either related to our not ignoring go_package, or the CodeGenRequest including the go_package under a separate key that we don't ignore or handle properly.

Rkiouak avatar Feb 28 '20 15:02 Rkiouak

https://github.com/Rkiouak/go-package-import-reproduction reproduces this issue

Rkiouak avatar Feb 28 '20 16:02 Rkiouak