resolve retroactive interfaces in js codegen #14082
Labels
component/js-ecosystem
TypeScript and React.js bindings
roadmap/interfaces
https://digitalasset.atlassian.net/browse/DAML-56
team/ledger-clients
Related to the Ledger Clients team's components.
As @cocreature mentioned in this discussion #14134 (comment), the way we load modules, the below could yield circular loading; example and possible solution there. The big unknown is typing the contract ID conversion function to properly make use of the template companion and interface companion.
InTsCodeGenMain
,genModule
can make an index of template IDs to "extra"tplImplements'
, to be narrowed and passed down togenDefDataType
. This can be derived frompkgMap
; possibly it should be incorporated inDaml2jsParams
and passed in, so it only needs to be computed once.The text was updated successfully, but these errors were encountered: