hyperstack-org / hyperstack-org/hyperstack

non public models should not bother with computing broadcast

Aperta
#295 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
538
Fork
41
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.