add byId to template and interface-marker classes #15603
Labels
component/java-ecosystem
Java development experience
team/ledger-clients
Related to the Ledger Clients team's components.
This is a conversion static method in both
CT
, signedAs this method replaces
ContractId.fromContractId
, which isn't present for interface ContractId classes, thatfromContractId
should be deprecated, with a note pointing to the newbyId
method.This idea came up in #14420 by @StephenOTT, for its symmetry with
byKey
. We can do this to fix the missingfromContractId
with a more easily-accessible version, while also providing a prerequisite to getting rid of theContractId
class entirely as suggested by @cocreature, should we decide to do that, in the form of a method that would give generic-ContractId users access to theExercises
.The text was updated successfully, but these errors were encountered: