Skip to content

Warning type and the struct are automatically generated #404

@ken-kost

Description

@ken-kost

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. 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions