[GODRIVER-2487] Provide access to raw result document when the server returns an error for a command Created: 11/Jul/22  Updated: 28/Oct/22  Resolved: 26/Oct/22

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.11.0

Type: New Feature Priority: Unknown
Reporter: PM Bot Assignee: Benji Rewis (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2385 Provide access to raw result document... Implementing
Related
is related to GODRIVER-2325 Expose server reply in errors Closed
Quarter: FY23Q3
Upstream Changes Summary:

DRIVERS-2385:
Introduces a new expectedError.errorResponse assertion for matching the full command response attached to an exception. Note that some drivers may need to skip tests for BulkWriteException and WriteException.

Drivers should sync unified tests for Collection Management, CRUD, and Unified Test Runner ("valid") with c04f2ec.

Documentation Changes: Not Needed

 Description   

This ticket was split from DRIVERS-2385, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 28/Oct/22 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2487 No useMultipleMongoses false in findOneAndUpdate errorResponse test. (#1109)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/f5312dfb878299b113a461c1bd80d74e0d103cc4

Comment by Githook User [ 26/Oct/22 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2487 Add spec tests for `errorResponse`. (#1097)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/1a45dfd3dea958d82b1deadd3c14e841f6e26c1e

Comment by Benji Rewis (Inactive) [ 18/Oct/22 ]

https://github.com/mongodb/mongo-go-driver/pull/1097

Generated at Thu Feb 08 08:38:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.