Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Not Needed
-
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:
- Update the way that the default FullDocument value is set to prevent squashing that option when multiple ChangeStreamOptions are merged together.
- Test that the FullDocument value is not overwritten when merging default ChangeStreamOptions
Attachments
Issue Links
- related to
-
GODRIVER-2696 Allow only 0 or 1 options structs in all APIs that accept variadic options args
-
- Investigating
-