Skip to content

Conversation

@patrickfreed
Copy link
Contributor

SWIFT-379

This PR is a follow up to SWIFT-332. It improves the error message used when the wrong BSONValue type is encountered when attempting to decode another (driver-introduced) BSONValue type.

As part of this patch, I cleaned up the way errors are decided upon to be more flexible for future changes and also to be more readable.

@patrickfreed patrickfreed requested review from kmahar and mbroadst April 3, 2019 22:10
@patrickfreed patrickfreed merged commit a681184 into master Apr 4, 2019
@patrickfreed patrickfreed deleted the SWIFT-379 branch April 4, 2019 19:51
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