Support square bracket notation for Document.prototype.set()
: set('arr[0].path', val)
#11552
Labels
enhancement
This issue is a user-facing general improvement that doesn't fix a bug or add a new feature
Milestone
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Cannot set a specific path
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
doc.configurations[0].loopItemsQueryPaths
should be set, right now it is[]
The gist is pretty big but I tried to make it as small as I could. I have re-read everything to make sure there was no typo too.
It looks similar to another issue I opened recently
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
Node 6.13.2
Mongoose 6.2.7
Mongo 5.0.5
The text was updated successfully, but these errors were encountered: