interface view decoders #15125
Labels
component/java-ecosystem
Java development experience
ledger clients facade
enriching the ledger API by bindings/codegen, JSON API, custom view
roadmap/interfaces
https://digitalasset.atlassian.net/browse/DAML-56
team/ledger-clients
Related to the Ledger Clients team's components.
Build upon #14313, and support #14969, by having
InterfaceCompanion
also supply aValueDecoder<View>
.InterfaceCompanion
's tparams should be<I, View>
ContractTypeCompanion
's tparams should be<Marker, Data>
.ContractCompanion
should passData
for both. They should beI, View
forInterfaceCompanion
INTERFACE
class we generate to pass the view type as the second tparam, and pass aValueDecoder<View>
as a param tosuper
The text was updated successfully, but these errors were encountered: