8000 Need a convenient way to synchronously delete instance of multiple classes · Issue #14 · modelint/scrall · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Need a convenient way to synchronously delete instance of multiple classes #14
Open
@modelint

Description

@modelint

When we delete an instance synchronously, we may need to delete a whole chain of instances across multiple
relationships to preserve the model integrity. For example, in the state_machine lifecycle we would like to delete a dispatched event and all of its related instances all in one go:

state Ignore
activity
    // Delete dispatched event
    {
        disp_ev .= /R1812/Dispatched Event
        sd_ev .= disp_ev/Self Directed Event
        nsd_ev .= disp_ev/Non Self Directed Event
        active_ev .= /R1812/Active Event
        pvals ..= disp_ev/R1813/Supplied Parameter Values
        !* disp_ev, sd_ev, nsd_ev, active_ev, pvals
    } <deleted>
    <deleted> Event ignored > me

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0