-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Change Streams, Options & Configuration
-
None
-
Not Needed
-
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
- related to
-
GODRIVER-2696 Use an options pattern that doesn't require merging structs
- Closed