We generally care about preserving JSON compatibility for protobuf files, but for some files, where we only use pure gRPC, we only care about preserving wire compatibility. Split our buf breaking invocation into two invocations, one that checks for WIRE_JSON compatibility, and one that checks only for WIRE compatibility. The former check ignores protos in controller/servers, since they do not need to adhere to this stricter definition.
13 lines
290 B
YAML
13 lines
290 B
YAML
version: v1
|
|
name: buf.build/hashicorp/boundary
|
|
deps:
|
|
- buf.build/googleapis/googleapis
|
|
- buf.build/grpc-ecosystem/grpc-gateway
|
|
lint:
|
|
use:
|
|
- DEFAULT
|
|
ignore_only:
|
|
FIELD_LOWER_SNAKE_CASE:
|
|
- controller/api/v1/error.proto
|
|
- controller/custom_options/v1/testing.proto
|