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
Now that it's possible to put mappings on $relations, I tried to add them everywhere.
Then I got stuck into a cicular dependency of those mappings and a segmentation fault happened.
If I remember correctly, Fractal prevents circular dependencies cutting them down after X iterations, but with the new layer of mapping used to eager load relations I guess this behaviour wasn't taken into account.
The text was updated successfully, but these errors were encountered:
Oh, this makes sense. We’re traversing the transformers recursively, and if two transformers reference each other I suppose it ends up with an endless loop. Can’t believe I didn’t think about this.
I’ll think some how we best can solve this, but it definitely needs fixing ASAP, as this sounds like a very normal use case
Now that it's possible to put mappings on
$relations
, I tried to add them everywhere.Then I got stuck into a cicular dependency of those mappings and a segmentation fault happened.
If I remember correctly, Fractal prevents circular dependencies cutting them down after X iterations, but with the new layer of mapping used to eager load relations I guess this behaviour wasn't taken into account.
The text was updated successfully, but these errors were encountered: