Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor:
resolveReadPreference
always returns a ReadPreference
We use this method to optionally accept operation-level read preference overrides, but we were just accepting those methods passing in a string. This lets us ensure that we are _always_ dealing with a proper `ReadPreference` instance.
- Loading branch information