-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Change Streams
When a change stream's stage options are being validated, any option key not present in the CHANGE_STREAM_OPTIONS const is being silently discarded.
There are situations where undocumented command options may exist, and in these cases as the `watch` API would not be aware of them (ChangeStreamOptions are documented in the spec) the API should either WARN or throw.
This would be a breaking change
- is related to
-
MONGOSH-1666 Shell helpers should not silently accept invalid options
-
- Closed
-
-
NODE-6140 Don't silently filter out { background: true } from aggregate
-
- Closed
-
- related to
-
MONGOSH-1670 explain().find() ignores collation
-
- Closed
-
-
MONGOSH-1619 mongosh should warn when redacting command options
-
- Closed
-