From 621579dea86168404c1c735fa4cc3bb7ccd15d78 Mon Sep 17 00:00:00 2001 From: bailey Date: Mon, 7 Apr 2025 13:26:15 -0600 Subject: [PATCH] document show expanded events --- src/change_stream.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/change_stream.ts b/src/change_stream.ts index 7f7551f2d82..403c464eddb 100644 --- a/src/change_stream.ts +++ b/src/change_stream.ts @@ -521,8 +521,12 @@ export interface UpdateDescription { * } * ``` * - * This field is only present when there are ambiguous paths that are updated as a part of the update event and `showExpandedEvents` + * This field is only present when there are ambiguous paths that are updated as a part of the update event. + * + * On \<8.2.0 servers, this field is only present when `showExpandedEvents` is set to true. * is enabled for the change stream. + * + * On 8.2.0+ servers, this field is present for update events regardless of whether `showExpandedEvents` is enabled. * @sinceServerVersion 6.1.0 */ disambiguatedPaths?: Document;