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

Implement :db/isComponent #282

Open
gburd opened this issue Aug 6, 2020 · 0 comments
Open

Implement :db/isComponent #282

gburd opened this issue Aug 6, 2020 · 0 comments
Labels

Comments

@gburd
Copy link

gburd commented Aug 6, 2020

As of v0.8.1, Mentat doesn't really support :db/isComponent true. This ticket tracks adding support.

This means that retracting [e a v] where a is :db/isComponent true retracts [v _ _] and so on, recursively.

This is one of the cases where the entities transacted aren't a superset of the datoms actually transacted, similar how :db/retractEntity. That means there's non-obvious interactions with transaction watchers, and thus with caches (and, in the future, materialized views).

@gburd gburd added A-query A-transact enhancement New feature or request labels Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant