hyperstack-org / hyperstack-org/hyperstack
non public models should not bother with computing broadcast
Offen
- Vorherrschende Sprache
- JavaScript
- Sterne
- 538
- Forks
- 41
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
If you have "private" (i.e. not in hyperstack/models) directory then there is no point in computing the broadcast when data changes.
You can do this manually today using the `do_not_synchronize` macro. However its a hassle having to add that to every private class.
One possible way to implement this would be to evaluate all the policies, and if a model is not involved in any policy then it does not need to be synchronized.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.