We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nsType
1 parent 449d039 commit 366afd6Copy full SHA for 366afd6
source/change-streams/change-streams.md
@@ -128,7 +128,7 @@ class ChangeStreamDocument {
128
*
129
* @since 8.1.0
130
*/
131
- nsType: "collection" | "timeseries" | "view" | null;
+ nsType: Optional<"collection" | "timeseries" | "view">;
132
133
/**
134
* Only present for ops of type 'rename'.
@@ -1016,6 +1016,8 @@ There should be no backwards compatibility concerns.
1016
1017
## Changelog
1018
1019
+- 2025-02-24: Make `nsType` `Optional` to match other optional fields in the change stream spec.
1020
+
1021
- 2025-01-29: Add `nsType` to `ChangeStreamDocument`.
1022
1023
- 2024-02-09: Migrated from reStructuredText to Markdown.
0 commit comments