StrictModeError not thrown on findOneAndUpdate with unknown field
Background Mongoose’s strict option controls how unknown fields are handled. When set to 'throw' , attempting to set a field not defined in the schema should raise a StrictModeError . This behavior is well‑documented for document creation and doc.set() operations. Unresolved Behavior During findOneAndUpdate calls that use MongoDB update operators such as $se