question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE REQUEST] Archive for Daml Interfaces

See original GitHub issue

I confirm that, if this is a feature request that has security implications, I already contacted security@digitalasset.com and followed the responsible disclosure policy.

I confirm that this is not a question or a request for technical support by the community, for which the Daml forum is available.

What is the problem you want to solve?

Given that all implementations of interfaces are templates, it is surprising that the archive function does work on them. It would improve the UX a fair amount if one didn’t have to declare functions

archive_IMyInterface : ContractId IMyInterface -> Update ()

in each interface and then implement them using archive on each interface implementation.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
bame-dacommented, Sep 7, 2022

I still think we want this feature. I don’t mind waiting a little, but targeting 2.6 would be a good thing imo.

1reaction
cocreaturecommented, Sep 7, 2022

I think there is a need for this but I’d recommend to not rush this. I discussed making Archive a “builtin” choice with @remyhaemmerle-da and I’d do it as part of that rather than just generating it from the compiler.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reference: Interfaces — Daml SDK 2.4.2 documentation
In Daml, an interface defines an abstract type together with a behavior specified by its view type, method signatures, and choices.
Read more >
Allow template to implement interfaces that define the same choice ...
Currently, we forbid that a template implements two interfaces that define a choice with the same ... [FEATURE REQUEST] Archive for Daml Interfaces...
Read more >
Wikipedia:Phase II feature requests/Interface
It is an archive of old feature requests that were still active on 2002 July 20, when we moved from Phase II to...
Read more >
Release of Daml SDK v0.13.30 - Digital Asset Blog
Breaking Rename Daml-LF Archive protobuf package from ... an experimental Daml triggers feature that allows you to implement off-ledger automation in Daml.
Read more >
DAML Services - Tools
Tools may currently be added and listed within this archive by sending a ... an OWL ontology with a point-and-click-interface, but the key...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found