rom-rb / rom

Data mapping and persistence toolkit for Ruby
https://rom-rb.org
MIT License
2.07k stars 161 forks source link

[core] fix forwarding to root in Relation::Combined #542

Closed solnic closed 5 years ago

solnic commented 5 years ago

When the response from a forwarded method call returns another combined relation, we need to merged nodes and return a new combined relation. Otherwise we were loosing previously combined nodes.

Fixes #525