[CSHARP-4465] Include correct type in exception in BsonTypeMapper.MapToDotNetValue Created: 23/Dec/22  Updated: 04/Jan/23  Resolved: 04/Jan/23

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.19.0

Type: Bug Priority: Unknown
Reporter: Boris Dogadov Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

in case of failure MapBsonDocumentTo should include options.MapBsonDocumentTo type in it's exception for BsonDocument.



 Comments   
Comment by Githook User [ 04/Jan/23 ]

Author:

{'name': 'juanii', 'email': 'juan.ignacio.porta@gmail.com', 'username': 'juanii'}

Message: CSHARP-4465: Include correct type in exception in BsonTypeMapper.MapToDotNetValue.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/0aaebf6a0ebd17f08ed99651cdb1e0218d713462

Generated at Wed Feb 07 21:48:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.