You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the bug has not already been reported
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.
Can you please try running the above script and see if you get the same result?
vkarpov15
added
can't reproduce
Mongoose devs have been unable to reproduce this issue. Close after 14 days of inactivity.
and removed
has repro script
There is a repro script, the Mongoose devs need to confirm that it reproduces the issue
labels
Jan 2, 2025
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: