daml icon indicating copy to clipboard operation
daml copied to clipboard

Replacement for printing contracts in daml-script

Open samuel-williams-da opened this issue 1 year ago • 1 comments

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.

samuel-williams-da avatar Jan 30 '24 10:01 samuel-williams-da

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

basvangijzel-DA avatar Feb 06 '24 14:02 basvangijzel-DA