Skip to content

update to support protobuf editionsΒ #677

@zwing99

Description

@zwing99
edition = "2023";

message TestContract {
    string id = 1;
    string name_of_person = 2;
    int32 age = 3;
}

using the contract above i get this warning:

test_contracts.proto: is an editions file, but code generator protoc-gen-mypy hasn't been updated to support editions yet. Please ask the owner of this code generator to add support or switch back to proto2/proto3.

Editions seems like the go forward for protobuf and mypy is certainly the go forward for python. Any chance this tooling can be updated to support it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions