[JAVA-4526] ChangeStream Spec: fullDocument field in ChangeStreamOptions should be an optional to handle "default" case. Created: 09/Mar/22  Updated: 04/May/22  Resolved: 14/Mar/22

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

Type: Spec Change Priority: Major - P3
Reporter: PM Bot Assignee: Unassigned
Resolution: Done Votes: 0
Labels: spec-compliance
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 Jeffrey Yemin [ 14/Mar/22 ]

The updated spec tests from DRIVERS-2231 have already been merged into the Java driver repository, so no further action is required.

Generated at Thu Feb 08 09:02:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.