daml/sdk/buf-ledger-api.yaml
Gary Verhaegen e40aad897f
move to subdir 3.0 (#18520)
* move most files

* update CI configuration
2024-03-22 02:27:46 +01:00

30 lines
1.1 KiB
YAML

# Copyright (c) 2024 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