daml/buf-ledger-api.yaml
Gary Verhaegen 179d85362d
update copyright (#18167)
* update copyright

* undo hack from #18168

* update hash in platform-independence-pre-check
2024-01-15 20:27:42 +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