-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
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
[8.x] Fix Self-Relation issue in withAggregate method #35392
Conversation
8c62084
to
f8bd393
Compare
What does |
@taylorotwell OK. I'm gonna change the |
…de a way to predict the hash
f8bd393
to
07397ce
Compare
No tests? |
Added test. |
@bjuppa as I have commented in your PR, I was waiting for permission to use your test. |
Could this be a breaking change? Changing the signature of |
@dbakan No. It's not. Because of the default value of |
The breaking change would be for people extending the class and overriding the method. |
@GrahamCampbell That's what I thought. Another idea might have been to add a new method |
@khalilst Just to clarify what I meant: https://3v4l.org/KIleN |
This PR is created in following of the PR #35389 .
It modifies the
getRelationCountHash
to provide a way to predict the hash.It prevents increasing
$selfJoinCount
, if called like this: