daml/buf-ledger-api.yaml
Simon Maxen d76603d137
Metering clarifications for Daml Hub [DPP-1314] (#15898)
* Add metering report JSON schema

* Add metering report JSON schema
* Remove metering-report-schema from proto exclusion list
* Add header to metering report validator
* Rename struct-json to struct-spray-json
* Add struct-circe-json

* Update with release comments
2022-12-16 10:46:32 +00:00

26 lines
865 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