Skip to content

Commit 61621db

Browse files
authored
RUST-1423 Add option and update tests for disambiguated_paths (#1202)
1 parent 13e0635 commit 61621db

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/action/watch.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ impl<'a, S> Watch<'a, S> {
235235
collation: Collation,
236236
read_concern: ReadConcern,
237237
selection_criteria: SelectionCriteria,
238+
show_expanded_events: bool,
238239
comment: Bson,
239240
);
240241
}

src/change_stream/options.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ pub struct ChangeStreamOptions {
8686
#[serde(skip_serializing)]
8787
pub selection_criteria: Option<SelectionCriteria>,
8888

89+
/// Enables the server to send the 'expanded' list of change stream events.
90+
pub show_expanded_events: Option<bool>,
91+
8992
/// Tags the query with an arbitrary [`Bson`] value to help trace the operation through the
9093
/// database profiler, currentOp and logs.
9194
///

src/test/spec/change_streams.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ async fn run_unified() {
66
.skip_files(&[
77
// TODO RUST-1281: unskip this file
88
"change-streams-showExpandedEvents.json",
9-
// TODO RUST-1423: unskip this file
10-
"change-streams-disambiguatedPaths.json",
119
])
1210
.skip_tests(&[
1311
// TODO RUST-1658: unskip these tests

0 commit comments

Comments
 (0)