You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sequel by design does not save entire object graphs. Its association modification methods are designed to be very direct and not offer a lot of abstraction.
Rather than creating the records inline, we need to support creating the associated objects and then adding them to the parent.
Another option would be to make use of the nested attributes plugin but that might be even messier...
The text was updated successfully, but these errors were encountered:
I actually had a loooong chat with @solnic a few days ago and the plan is to get rid of Disposable and use ROM instead for domain-to-persistence operations. Cool? That could also be done step-wise by not relying on AR's crazy API but to base Disposable on Sequel's API and then add AR.
Sequel by design does not save entire object graphs. Its association modification methods are designed to be very direct and not offer a lot of abstraction.
Rather than creating the records inline, we need to support creating the associated objects and then adding them to the parent.
Another option would be to make use of the nested attributes plugin but that might be even messier...
The text was updated successfully, but these errors were encountered: