mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
91a6ad7f36
* Add generation of FromInterfaceContractId methods for supporting templates in the java codegen changelog_begin - Add generation of `unsafeFrom{InterfaceName}` methods to the `ContractId` class for templates implementing interfaces in the Java codegen. That allows to convert between interface contract IDs and template contract IDs. If a conversion was wrong it will raise an exception at runtime during the execution of a command. The conversion is thus not exception-safe. changelog_end * Update language-support/java/codegen/src/ledger-tests/scala/com/digitalasset/InterfacesTest.scala Co-authored-by: Stephen Compall <stephen.compall@daml.com> * Fix missing import * Address https://github.com/digital-asset/daml/pull/13460#discussion_r838522450 Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com> Co-authored-by: Stephen Compall <stephen.compall@daml.com> Co-authored-by: Stefano Baghino <stefano.baghino@digitalasset.com> |
||
---|---|---|
.. | ||
app-dev | ||
concepts | ||
daml | ||
daml-repl | ||
daml-script | ||
deploy | ||
getting-started | ||
json-api | ||
ops | ||
support | ||
tools | ||
triggers | ||
upgrade | ||
building-applications.rst | ||
deploying.rst | ||
index.rst | ||
operating-daml.rst | ||
tools.rst | ||
writing-daml.rst |