hyperstack-org / hyperstack-org/hyperstack

non public models should not bother with computing broadcast

Đang mở
#295 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.