Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zeitstein opened this issue Dec 19, 2021 · 0 comments
Open

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

zeitstein opened this issue Dec 19, 2021 · 0 comments

Comments

@zeitstein
Copy link

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}])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant