digital-asset / daml

The Daml smart contract language
https://www.digitalasset.com/developers
797 stars 201 forks source link

Replacement for printing contracts in daml-script #18328

Open samuel-williams-da opened 7 months ago

samuel-williams-da commented 7 months ago

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.

basvangijzel-DA commented 7 months ago

TemplateTypeRep printing is now dev only. Can still write an exception to fix this for the errors.