daml/buf-ledger-api.yaml
mziolekda 34743570bd
Rewire the build to use ledger-api within canton (#17959)
* Rewire the build to use ledger-api within canton

* same for canton-3

* fix buf

* fix buf again

* remove references to canton from canton-3x
2023-12-04 16:11:13 +01:00

30 lines
1.1 KiB
YAML

# Copyright (c) 2023 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
version: v1beta1
build:
roots:
- canton/community/ledger-api/src/main/protobuf
- 3rdparty/protobuf
excludes:
- canton/community/ledger-api/src/main/protobuf/com/daml/ledger/api/scalapb
breaking:
use:
- FILE
# Generated source code breaking changes on a per-file basis, that is changes that would
# break the generated stubs where definitions cannot be moved across files.
# This category also verifies wire and JSON compatibility.
#
# 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
ignore_only:
FIELD_NO_DELETE:
- com/daml/ledger/api/v1/commands.proto
- com/daml/ledger/api/v1/event.proto
- com/daml/ledger/api/v1/transaction_filter.proto
ONEOF_NO_DELETE:
- com/daml/ledger/api/v1/commands.proto