Skip to content

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

Merged
mbroadst merged 2 commits into
masterfrom
NODE-1515
Jun 18, 2018
Merged

feat(read-preference): unify means of read preference resolution#1738
mbroadst merged 2 commits into
masterfrom
NODE-1515

Conversation

@mbroadst

Copy link
Copy Markdown
Member

@mbroadst
mbroadst requested review from daprahamian and kvwalker June 15, 2018 16:12

@kvwalker kvwalker left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread 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
Copy Markdown
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"

Comment thread 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
Copy Markdown
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

@daprahamian daprahamian left a comment

Copy link
Copy Markdown
Contributor

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
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