hyperstack-org / hyperstack-org/hyperstack
non public models should not bother with computing broadcast
Aberta
- Linguagem predominante
- JavaScript
- Estrelas
- 538
- Forks
- 41
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.