Skip to content

Conversation

@ncarbon
Copy link
Contributor

@ncarbon ncarbon commented May 30, 2019

ReadPreference getters in MongoClient, MongoCollection, and MongoDatabase should return non-optionals since their values will never be nil.

@ncarbon ncarbon force-pushed the SWIFT-311/Make-ReadPreference-getters-return-non-optionals branch from 35ad487 to e6fa19b Compare May 30, 2019 21:43
@ncarbon ncarbon requested review from kmahar and patrickfreed May 30, 2019 21:44
Copy link
Contributor

@patrickfreed patrickfreed left a comment

Choose a reason for hiding this comment

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

LGTM. just make sure the commit message has "SWIFT-311" instead of "Swift 311" so the githook bot picks it up.

@ncarbon ncarbon changed the title Swift 311 Make ReadPrefrerence getters return non-optionals Swift-311 Make ReadPrefrerence getters return non-optionals May 31, 2019
@ncarbon ncarbon merged commit 78db81a into master May 31, 2019
@ncarbon ncarbon deleted the SWIFT-311/Make-ReadPreference-getters-return-non-optionals branch May 31, 2019 18:59
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.

4 participants