We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
image
strictPopulate
I've just updated to the latest version of feathers mongoose which has update mongoose from v5 to v5 and I'm now getting this error
"Cannot populate path image because it is not in your schema. Set the strictPopulate option to false to override."
not really sure what's causing it as image is part of my schema.
image: { type: ObjectId, ref: "image", },
I can do this to get rid of the error
mongoose.set("strictPopulate", false);
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working): [email protected] [email protected] NodeJS version: v14.17.2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps to reproduce
I've just updated to the latest version of feathers mongoose which has update mongoose from v5 to v5 and I'm now getting this error
"Cannot populate path
image
because it is not in your schema. Set thestrictPopulate
option to false to override."not really sure what's causing it as image is part of my schema.
I can do this to get rid of the error
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working):
[email protected]
[email protected]
NodeJS version:
v14.17.2
The text was updated successfully, but these errors were encountered: