mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
cc06073333
* WIP * First working version of java codegen daml interface support * Update language-support/java/codegen/BUILD.bazel Co-authored-by: Remy <remy.haemmerle@daml.com> * Fix compile errors * Simplify code massivly, enjoy less duplication changelog_begin - The Java codegen now has basic support for daml interface definitions. Converting a contract id of a template implementing an interface to a contract id of the interface is possible and both executing interface choices is possible on the contract id of the interface and implementing template. changelog_end * Rename the test file to reflect it is a test file & enhance the inner test name & extend it further * Fix test * Refactor parts of TemplateClass.scala into multiple files * Format that files! * Minimize duplication further * Remove unused comment * Simplify code Co-authored-by: Stephen Compall <stephen.compall@daml.com> * Update language-support/java/codegen/src/main/scala/com/digitalasset/daml/lf/codegen/CodeGenRunner.scala Co-authored-by: Stephen Compall <stephen.compall@daml.com> * Further refactoring and renaming of the TemplateClassSpec to ContractIdClassBuilderSpec * Fix formatting * Add interface docs * Remove unnecessary code generation of the Contract class for interface types * Use less bool flags and more good function names :) * Fix build Co-authored-by: Remy <remy.haemmerle@daml.com> Co-authored-by: Stephen Compall <stephen.compall@daml.com> |
||
---|---|---|
.. | ||
cli-opts | ||
db-backend | ||
fetch-contracts | ||
http-json | ||
http-json-cli | ||
http-json-ledger-client | ||
http-json-oracle | ||
http-json-perf | ||
http-json-testing | ||
jwt | ||
lf-value-json | ||
pureconfig-utils | ||
utils |