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
If I replace the property name from schema to configSchema or schemas or anything but schema the problem resolves.
It was working fine with the property name schema till mongoose@5.13.8. I have recently update my project with mongoose@6.0.1. And facing the issue.
The text was updated successfully, but these errors were encountered:
In my collection there is a property called schema.
My code is following
While I was trying to populate the schema property it was giving the following error.
If I replace the property name from schema to configSchema or schemas or anything but schema the problem resolves.
It was working fine with the property name schema till mongoose@5.13.8. I have recently update my project with mongoose@6.0.1. And facing the issue.
The text was updated successfully, but these errors were encountered: