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

[Feature] Livequery: Listen to relevant attribute/relationship changes only #942

Open
SafaAlfulaij opened this issue Mar 25, 2022 · 0 comments

Comments

@SafaAlfulaij
Copy link

Often I use findRecords and findRelatedRecords livequeries to display lists of data. This list cares about what it displays only. For example, in a list of purchase orders: the record itself, the seller name and the date of the purchase (used for ordering only).

Livequeries currently are reactive based on any change to any of the observed records. If one of the sellers email got changed in a findRecords("purchaseOrder") livequery, a trigger will occur and the application needs to re-render the data (React as an example).

It would be nice if we can specify an option to observe specific attribute or relationship changes only.

@SafaAlfulaij SafaAlfulaij changed the title [Feature] Livequery: Listen to relevant attribute changes only [Feature] Livequery: Listen to relevant attribute/relationship changes only Mar 25, 2022
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