Mapping between different types/aliases at the API level and Daml templates
App Development2 posts190 views1 likesLast activity Feb 2022
ME
meetOP
Feb 2022Is it possible to map the Daml folder structure map to a different alias at the API level?
Eg, instead of querying the API for A.B.C.D:Template1, I want to be able to map A.B.C.D:Template1 to, say, X.Y.Z:T and query the API for X.Y.Z:T instead.
Is this possible or are the types exposed to the API client always going to have to be an exact match of the actual Daml folder structure?
CO
cocreature
Feb 2022There is no way to provide aliases or remap module or template names. They are always exposed 1:1 on the ledger API.