protobuf
protobuf copied to clipboard
Warning type and the struct are automatically generated
I'm getting a lot of warnings:
warning: Since v0.10.0 of the :protobuf library, the t/0 type and the struct are automatically generated for modules that call "use Protobuf" if they are Protobuf enums or messages. Remove your explicit definition of both of these or regenerate the files with the latest version of the protoc-gen-elixir plugin. This warning will become an error in version 0.11.0+ of the :protobuf library.
But I'm using latest protobuf version 0.14.1 and I removed all @type and defstruct and the new generated version did not have them which is good.
Also, shouldn't this warning be error since it's 1.14?
I can't figure out from where the warnings are coming from. 🤔
Hi, @ken-kost.
I'm not able to reproduce it myself. If you could provide an example application where this happens, I'd be happy to try to solve it.