mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
9575b72a01
This PR provides a basic API for ledger client to create contracts with down/up-grade support. One can send a create Command where the payload contains - (upgrade path) less fields than requires by the package definition (as long as the missing fields are optional), in such case the engine assume those fields are None - (downgrade path) more fields than requires by the package definition (additional field should be node), in such case the engine drop those fields. Here are some restrictions we assume for this first step: - For the sake of simplicity, we forbid field reordering when upgrade is enable - The package of explicit disclosed contract is required - we ignore package ID complelty inside value (probably not what we want in final version) |
||
---|---|---|
.. | ||
converter | ||
daml | ||
daml3 | ||
export | ||
runner | ||
test |