-
-
Notifications
You must be signed in to change notification settings - Fork 960
Closed
Description
Basically the same as #1139. Previously fixed in #1144 and #1162.
Category
- children
- parent
Self-referencing resources results in infinite recursion leading to OOM.
Product
- brands
- isRelatedTo
- isSimilarTo
It tries to traverse deeper on the same path more than once, e.g.
[LogicException]
Route pattern "/products/{id}/is_related_to/{isRelatedTo}/is_related_to/{isRelatedTo}/brands.{_format}"
cannot reference variable name "isRelatedTo" more than once.
The expected behaviour is:
Product -[isRelatedTo]-> Product -[isRelatedTo] -> Product
/ cut here /
Reactions are currently unavailable