Otion-Core/graphism
Document and test the :from option when defining computed relations
Aperta
#41 aperta il 15 ott 2021
documentationgood first issuetesting
Metriche repository
- Star
- (0 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
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