Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for the new Opaque API? #67

Open
franchb opened this issue Dec 22, 2024 · 0 comments
Open

Support for the new Opaque API? #67

franchb opened this issue Dec 22, 2024 · 0 comments

Comments

@franchb
Copy link

franchb commented Dec 22, 2024

This tool breaks on the new Protobuf Opaque API https://go.dev/blog/protobuf-opaque :

goroutine 1 [running]:
main.parseFile({0x7ffd635be5c9, 0x26}, {0x0, 0x0}, {0x0, 0x0, 0xf?})
        /home/user/go/pkg/mod/github.com/favadi/protoc-go-inject-tag@v1.4.0/file.go:116 +0xa49
main.main()
        /home/user/go/pkg/mod/github.com/favadi/protoc-go-inject-tag@v1.4.0/main.go:56 +0x425

find proto/echelon -name '*.pb.go' -exec tools/bin/protoc-go-inject-tag -input="{}" \;
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x4ff549]

goroutine 1 [running]:
main.parseFile({0x7fffe1d345c9, 0x26}, {0x0, 0x0}, {0x0, 0x0, 0xf?})
        /home/user/go/pkg/mod/github.com/favadi/protoc-go-inject-tag@v1.4.0/file.go:116 +0xa49
main.main()
        /home/user/go/pkg/mod/github.com/favadi/protoc-go-inject-tag@v1.4.0/main.go:56 +0x425
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x4ff549]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant