Skip to content

:tg/owns 'datoms' don't get retracted automatically #227

@zeitstein

Description

@zeitstein

Consider

(d/transact conn [{:id 0 :array [{:id 1}]}])
(d/transact conn [{:id 0 :array' []}])

This is handled beautifully, except the :tg/owns statements on [:id 0] node are not retracted: :tg/owns is left pointing to two now non-existent nodes.

Another example:

(d/transact conn [{:id 0 :ent {:id 1}}])
(d/transact conn [{:id 0 :ent' nil}])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions