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
bug symfony#46282 [DoctrineBridge] Treat firstResult === 0 like null (derrabus)
This PR was merged into the 4.4 branch.
Discussion
----------
[DoctrineBridge] Treat firstResult === 0 like null
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | N/A
| License | MIT
| Doc PR | N/A
Doctrine ORM has changed its default value for the `firstResult` property of `Query` and `QueryBuilder` instances from `null` to `0`. Both values should be considered equal: Setting no offset or setting the offset to zero should yield the same results.
This new default however confuses our `ORMQueryBuilderLoader` because it checks for `null` only. This PR intends to fix that.
Commits
-------
2fef871 [DoctrineBridge] Treat firstResult === 0 like null
0 commit comments