hyperstack-org / hyperstack-org/hyperstack

non public models should not bother with computing broadcast

未关闭
#295 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
538
派生
41
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。