Ash FrameworkAF
Ash Framework6mo ago
18 replies
mcoll

Manual relationship in belongs_to

Hi! Is there any reason there is no way to have a manual relationship in a belongs_to block? Is it because that one by default creates the attribute?

I'm doing a Stripe wrapper that generates custom dependencies, and some relationships are belongs_to-like and some are has_*-like. And would love to preserve the semantics.
Was this page helpful?