Otion-Core/graphism

Document and test the :from option when defining computed relations

開放

#41 建立於 2021年10月15日

 (0 則留言) (0 個反應) (0 位負責人)Elixir (1 個分叉)auto 404
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

貢獻者指南