Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
usePushEach
flag to Mongoose Schema Options (#23042)
In order for devs to be able to work around the issues described in Automattic/mongoose#5574 we need to be able to supply the `usePushEach` flag to the Mongoose SchemaOptions. This options functionality is described in Automattic/mongoose#4455 and is required for anyone who modifies arrays inline who is using Mongoose 4 and MongoDB 3.6+ Testing: Copied changes to local project and verified compilation worked.
- Loading branch information