thephpleague / fractal

Output complex, flexible, AJAX/RESTful data structures.
fractal.thephpleague.com
MIT License
3.52k stars 352 forks source link

Fix sub relations when resource with modifier is included multiple times #560

Open rogatty opened 1 year ago

rogatty commented 1 year ago

When we try to include foo:modifier.bar,foo:modifier.baz, only foo and foo.bar get included, while foo.baz is ignored.

I believe this change is backward compatible, as I made sure $this->includeParams stays the same for foo:modifier(1).bar,foo:modifier(2).baz