[GODRIVER-2329] ChangeStream Spec: fullDocument field in ChangeStreamOptions should be an optional to handle "default" case. Created: 09/Mar/22  Updated: 26/Apr/22  Resolved: 26/Apr/22

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

Type: Spec Change Priority: Major - P3
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-2231 ChangeStream Spec: fullDocument field... Closed
Upstream Changes Summary:

DRIVERS-2231:
Currently, the ChangeStream spec defines the fullDocument field in ChangeStreamOptions as a String that defaults to the string literal "default". As of server version 3.6, sending "default" and sending no fullDocument field have identical behavior, so fullDocument should be defined as an Optional<String> to avoid using the "default" string literal.

Drivers should sync legacy change streams tests to mongodb/specifications@31edce6 and legacy retryable reads tests to mongodb/specifications@006a4f1 .


 Description   

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



 Comments   
Comment by Githook User [ 26/Apr/22 ]

Author:

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

Message: GODRIVER-2294 Support PIT pre- and post-images for change streams (#917)

GODRIVER-2329
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/b738a8824190db51e4b71b7f9c55acbec8ac3cfe

Comment by Benji Rewis (Inactive) [ 19/Apr/22 ]

This was not actually done in the Go driver. Will be done as part of https://github.com/mongodb/mongo-go-driver/pull/917

Comment by Benji Rewis (Inactive) [ 15/Mar/22 ]

This is already done in the Go driver.

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