We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✏️ Describe the bug Transforming a model in which there is a relation in which another relation points to itself will result in an infinite loop
↪️ To Reproduce Provide us a pest test like this one which shows the problem:
it('does not loop infinitely on relations', function () { $m1 = new FakeModel(); $m2 = new FakeNestedModel(); $m2->setRelation('parent', $m1); $m1->setRelation('pivot', $m2); FakeModelData::from($m1); //Infinite loop });
The text was updated successfully, but these errors were encountered:
Fixed with PR
Sorry, something went wrong.
No branches or pull requests
✏️ Describe the bug
Transforming a model in which there is a relation in which another relation points to itself will result in an infinite loop
↪️ To Reproduce
Provide us a pest test like this one which shows the problem:
The text was updated successfully, but these errors were encountered: