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.
2 parents 8be1ae8 + b48801b commit b51a730Copy full SHA for b51a730
docs/migrating_to_6.md
@@ -314,7 +314,7 @@ Schema paths declared with `type: { name: String }` become single nested subdocs
314
315
```javascript
316
// In Mongoose 6, the below makes `foo` into a subdocument with a `name` property.
317
-// In Mongoose 5, the below would make `foo` a `Mixed` type, _unless_ you set `typePojoToMixed: true`.
+// In Mongoose 5, the below would make `foo` a `Mixed` type, _unless_ you set `typePojoToMixed: false`.
318
const schema = new Schema({
319
foo: { type: { name: String } }
320
});
0 commit comments