hyperstack-org / hyperstack-org/hyperstack
non public models should not bother with computing broadcast
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 538
- Fork
- 41
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.