Skip to content

Explicit delete operation in bulk API? #221

Description

@enikao

In bulk API, we delete a node by not mentioning the deleted node id in children/annotations of its parent on calling store()
The deleted node then becomes an orphan (#219), if supported. Otherwise, the deleted node is gone (#220).

We could have an explicit delete() operation in different variants:

Variant A: delete() can only delete orphans, thus is only part of Trash API (#217).

delete just makes sure orphans are really gone (#220).
If the repository does not support orphans, this call is a no-op.

Variant B: delete() can delete both regular nodes and orphans

Any explicitly deleted node would be completely gone (#220).

If we delete a node, we implicitly remove it from its parent's containment/annotation.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions