You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently came across inconsistencies between buf lint and google's api-linter due to the field_behaviour.proto being out of date in buf.
There is a requirement in the api-linter to have google.api.field_behavior = IDENTIFIER on the name field of a message but when setting this and running buf lint I get the following error:
Foo.name: option (google.api.field_behavior): enum google.api.FieldBehavior has no value named IDENTIFIER
field_behaviour.proto was updated to add this new enum value on 22/08/23 so it looks like buf needs to update its dependencies?
I hope this is enough information to go on and reproduce the issue, if not then let me know.
Updates api-linter to version v1.56.1 as v.1.57.0 introduced a new
requirement for (google.api.field_behavior) = IDENTIFIER to be set on
the name field of a proto resource.
There is a conflict between buf lint and api-linter due to an update to
field_behaviour.proto. An issue has been opened buf as fix is on their side:
bufbuild/buf#2474
Updates api-linter to version v1.56.1 as v.1.57.0 introduced a new
requirement for (google.api.field_behavior) = IDENTIFIER to be set on
the name field of a proto resource.
There is a conflict between buf lint and api-linter due to an update to
field_behaviour.proto. An issue has been opened buf as fix is on their side:
bufbuild/buf#2474
This is an issue on my side with buf dependencies. Updating with buf mod update will bring the latest googleapis version to include the IDENTIFER enum. Closing...
I recently came across inconsistencies between
buf lint
and google'sapi-linter
due to the field_behaviour.proto being out of date in buf.There is a requirement in the api-linter to have
google.api.field_behavior = IDENTIFIER
on thename
field of a message but when setting this and running buf lint I get the following error:field_behaviour.proto
was updated to add this new enum value on 22/08/23 so it looks like buf needs to update its dependencies?I hope this is enough information to go on and reproduce the issue, if not then let me know.
The text was updated successfully, but these errors were encountered: