[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
getRelationCountHashto provide a way to predict the hash.It prevents increasing
$selfJoinCount, if called like this: