Otion-Core/graphism
Document and test the :from option when defining computed relations
开放
#41 创建于 2021年10月15日
documentationgood first issuetesting
仓库指标
- 星标
- (0 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Eg. given this schema:
entity :user do
...
end
entity :blog do
has_many(:posts)
end
entity :post do
belongs_to(:blog)
belongs_to(:user,
modifiers: [:computed],
from: :user ## <--- this
end