[PR #9236] Restore query() call for primary/replica connections #11452

Closed
opened 2026-01-22 16:10:49 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/9236

State: closed
Merged: No


On DBAL 2, PrimaryReadReplicaConnection::query() executed the query on the primary connection. I broke the usage of this "hidden feature" while removing deprecated calls. This PR restores the functionality. At the same time, it removes mock logic that was supposed to catch my mistake but did not succeed doing so.

**Original Pull Request:** https://github.com/doctrine/orm/pull/9236 **State:** closed **Merged:** No --- On DBAL 2, `PrimaryReadReplicaConnection::query()` executed the query on the primary connection. I broke the usage of this "hidden feature" while removing deprecated calls. This PR restores the functionality. At the same time, it removes mock logic that was supposed to catch my mistake but did not succeed doing so.
admin added the pull-request label 2026-01-22 16:10:49 +01:00
admin closed this issue 2026-01-22 16:10:50 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#11452