Otion-Core/graphism

Document and test the :from option when defining computed relations

オープン

#41 opened on 2021/10/15

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Elixir (1 件のフォーク)auto 404
documentationgood first issuetesting

Repository metrics

Stars
 (0 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド