Populate with spaces get evaluated Cannot populate path `` because it is not in your schema. Set the strictPopulate option to false to override. #13939
-
Cannot populate path `` because it is not in your schema. Set the const readings = await Gwapo.find(conditions)
.populate(
"user testgwapo",
"fname lname isActive height abbrev "
)
|
Beta Was this translation helpful? Give feedback.
Answered by
vkarpov15
Oct 31, 2023
Replies: 1 comment 2 replies
-
https://mongoosejs.com/docs/populate.html#query-conditions you can see this. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was fixed in #13951