[GODRIVER-2804] Merging ChangeStreamOptions can squash the FullDocument configuration Created: 10/Apr/23 Updated: 28/Oct/23 Resolved: 12/Apr/23 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Change Streams, Options & Configuration |
| Affects Version/s: | None |
| Fix Version/s: | 1.11.5, 1.11.6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matt Dale | Assignee: | Matt Dale |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Documentation Changes: | Not Needed | ||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||||||
| Description |
|
The options.ChangeStream options constructor currently sets a default FullDocument configuration of Default (see here). That can lead to the configuration value in some ChangeStreamOptions structs being squashed because Default appears to be a user-configured option in the default struct constructed via options.ChangeStream. Definition of done:
|
| Comments |
| Comment by Githook User [ 02/May/23 ] |
|
Author: {'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}Message: Co-authored-by: Preston Vasquez <prestonvasquez@icloud.com> |
| Comment by Githook User [ 12/Apr/23 ] |
|
Author: {'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}Message: Co-authored-by: Preston Vasquez <prestonvasquez@icloud.com> |
| Comment by Matt Dale [ 10/Apr/23 ] |