Otion-Core/graphism
Document and test the :from option when defining computed relations
Open
#41 opened on Oct 15, 2021
documentationgood first issuetesting
Repository metrics
- Stars
- (0 stars)
- PR merge metrics
- (PR metrics pending)
Description
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