Can't save values for particular keys of Map #15125
Labels
has repro script
There is a repro script, the Mongoose devs need to confirm that it reproduces the issue
Milestone
Prerequisites
Mongoose version
8.9.0
Node.js version
22.9
MongoDB server version
8.0.1
Typescript version (if applicable)
No response
Description
For the field of Map type - if key in format "[number]" (number in square brackets) or "[number" (number preceded by square bracket) then it's not saving.
Steps to Reproduce
output:
Expected Behavior
All values for all string keys are preserved.
The text was updated successfully, but these errors were encountered: