daml
daml copied to clipboard
Replacement for printing contracts in daml-script
With the removal of TemplateTypeReps, we've had a regression in the UX for errors from daml-script.
Most of these relate to contract keys, so are acceptable, but errors like WronglyTypedContract, and the missing interface errors are not very informative in their current state.
We should consider an alternative method of getting the template names down.
TemplateTypeRep printing is now dev only. Can still write an exception to fix this for the errors.