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
Originally posted by ccravens June 19, 2023
I know it's not supported to have key names with periods in them (I'm sure that's a whole other discussion). But what I'm trying to do is understand why this schema definition results in this:
/*** Document save ******/consttestModel=awaitnewTestModel({metadata: {labels: {'my.label.com': 'true'},},}).save();
vkarpov15
added
confirmed-bug
We've confirmed this is a bug in Mongoose and will fix it.
and removed
has repro script
There is a repro script, the Mongoose devs need to confirm that it reproduces the issue
labels
Jun 21, 2023
Discussed in #13528
Originally posted by ccravens June 19, 2023
I know it's not supported to have key names with periods in them (I'm sure that's a whole other discussion). But what I'm trying to do is understand why this schema definition results in this:
This schema results in this:
Notice the dots in the key name
my.label.com
But schema results in this:
The text was updated successfully, but these errors were encountered: