Currently unrecognized field names are silently ignored. Errorring can help protect against typos like
{fync: true}and will correctly error if we add a new flag like journaledOnSlaves and it is sent to a server that doesn't support it.
We may want to strictly validate all arguments to write commands for the same reason.
- is duplicated by
-
SERVER-43185 write concern accepts malformed documents
- Closed
- related to
-
SERVER-31846 Provide error message when $exists : "false" i.e. value is string (not boolean)
- Backlog