hyperstack-org / hyperstack-org/hyperstack

non public models should not bother with computing broadcast

Ouverte
#295 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
538
Forks
41
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.