extension-read-replicas icon indicating copy to clipboard operation
extension-read-replicas copied to clipboard

feat: allow to select default read client

Open wallforfry opened this issue 11 months ago • 4 comments

This pull request introduces enhancements to the read replica functionality by adding a new option for the default read client, modifying the query execution logic.

It opt-in for $replicas like the legacy behavior but allow to opt-in for $primary instead.

It's a proposal to fix #35

wallforfry avatar Jan 27 '25 15:01 wallforfry

Attemping to use this fix with patch-package

wilau2 avatar May 07 '25 01:05 wilau2

+1

This would help to safely integrate the extension in large code bases.

MichaelNey avatar Sep 29 '25 23:09 MichaelNey

+1

Same reason as above.

momirov avatar Oct 10 '25 10:10 momirov

+1 for me this is extremely important. Moreover if we want to adopt progressively a readReplica strategy I don't want to migrate 100% of my codebase.

anaelChardan avatar Nov 04 '25 10:11 anaelChardan