[CXX-2462] ChangeStream Spec: fullDocument field in ChangeStreamOptions should be an optional to handle "default" case. Created: 09/Mar/22  Updated: 28/Oct/23  Resolved: 19/Aug/22

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 3.7.0

Type: Spec Change Priority: Major - P3
Reporter: PM Bot Assignee: Ezra Chung
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done before CXX-2239 Convert change stream spec tests to u... Closed
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 Ezra Chung [ 19/Aug/22 ]

PR: https://github.com/mongodb/mongo-cxx-driver/pull/885

Commit: https://github.com/mongodb/mongo-cxx-driver/commit/51e570163744f36f28a106967577369b65be3ea4

 

Comment by Jeremy Mikola [ 26/Jul/22 ]

Is there actual work to be done here if CDRIVER-4305 has been resolved? I assume the two are related, although there's no link in JIRA.

Generated at Wed Feb 07 22:05:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.