[GODRIVER-2937] BSONOptions does not work when set via Collection and Database options Created: 08/Aug/23 Updated: 05/Dec/23 Resolved: 05/Dec/23 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Options & Configuration |
| Affects Version/s: | 1.12.0, 1.12.1 |
| Fix Version/s: | 1.13.1 |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Matt Dale | Assignee: | Preston Vasquez |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Documentation Changes: | Not Needed |
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
| Description |
|
The MergeCollectionOptions and MergeDatabaseOptions do not copy the BSONOptions values when merging options structs. As a result, it's not currently possible to configure BSONOptions on a Collection or Database separately, only a Client. Reported in a PR comment here. |
| Comments |
| Comment by Githook User [ 05/Dec/23 ] |
|
Author: {'name': 'Preston Vasquez', 'email': 'prestonvasquez@icloud.com', 'username': 'prestonvasquez'}Message: |