daml/buf-ledger-api.yaml
Sergey Kisel 207160875c
Ignore broken not yet released protobuf feature. (#15124)
CHANGELOG_BEGIN
CHANGELOG_END
2022-09-29 07:25:52 +02:00

28 lines
940 B
YAML

# Copyright (c) 2022 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
version: v1beta1
build:
roots:
- ledger-api/grpc-definitions
- 3rdparty/protobuf
breaking:
use:
# Note: FILE disallows field renaming, while WIRE does allow it.
# We rely in particular on fields not getting renamed in `UpdateXXX` calls that use a `FieldMask`
# to select the fields to update, see https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/field_mask.proto
- FILE
except:
- FILE_NO_DELETE # Avoids errors due to refactored `buf` modules.
ignore_only:
FIELD_SAME_ONEOF:
- com/daml/ledger/api/v1/commands.proto
FIELD_SAME_JSON_NAME:
- com/daml/ledger/api/v1/commands.proto
FIELD_SAME_NAME:
- com/daml/ledger/api/v1/commands.proto
ignore:
- com/daml/ledger/api/v1/admin/metering_report_service.proto