Skip to content

buf lint doesn't allow field_mask rule for google.protobuf.FieldMask in buf 1.62.1 #4248

@lberrymage

Description

@lberrymage

GitHub repository with your minimal reproducible example (do not leave this field blank or fill out this field with "github.com/bufbuild/buf" or we will automatically close your issue, see the instructions above!)

https://github.com/lberrymage/buf-lint-error-reproducer

Commands

buf lint

Output

example/v1/some_message.proto:9:45:Field "field_mask" is of type google.protobuf.FieldMask but has (buf.validate.field).field_mask rules.

Expected Output

I expected no lint failures.

Anything else?

The described failures are exhibited with Buf 1.62.1. Buf 1.61.0 works correctly and reports no lint failures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions