Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(read-preference): unify means of read preference resolution #1738

Merged
merged 2 commits into from
Jun 18, 2018

Conversation

mbroadst
Copy link
Member

Copy link
Contributor

@kvwalker kvwalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm with two very tiny nits

lib/utils.js Outdated
* properly constructed instance of `ReadPreference`.
*
* @param {Object} options The options passed into the method, potentially containing a readPreference
* @param {Object} sources Sources where we can inherit default read preference from
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Sources from which we can inherit default read preference"

lib/utils.js Outdated
*
* @param {Object} options The options passed into the method, potentially containing a readPreference
* @param {Object} sources Sources where we can inherit default read preference from
* @returns {ReadPreference} the resolved read preference, if found
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"the" should be capitalized

Copy link
Contributor

@daprahamian daprahamian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mbroadst mbroadst merged commit 2995e11 into master Jun 18, 2018
@mbroadst mbroadst deleted the NODE-1515 branch June 18, 2018 17:50
kiku-jw pushed a commit to kiku-jw/node-mongodb-native that referenced this pull request Feb 11, 2019
…godb#1738)

* feat(read-preference): unify means of read preference resolution

NODE-1515
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants