-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
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
Method Map.prototype.has called on incompatible receiver #59
Comments
Facing Same issue on mongoose version "^5.1.7" any solution??? |
I also face the same problem. I have narrowed it down to 5.1.4 of mongoose works to 5.1.5 doesn't. |
I created By Own Plugin and Resolved the Issue |
@techitesh Could you please explain your solution? |
@bdsomer I forked it and fixed this problem I believe. Give it a try and see if it works for you https://github.com/kennylmay/mongoose-schema-extend |
@kennylmay I would make a PR to this repo! I know the developers aren't active but just in case they come back. |
@Hyperblaster note that you actually don't really need this lib anymore, as this is now built into mongoose: https://mongoosejs.com/docs/api.html#model_Model.discriminator |
@epegzz Know of an upgrade tutorial at all out there? |
Just Updated mongoose from 5.0.16 to 5.1.7 and now encounter this error.
Rolling back to 5.0.16, everything works fine. Is mongoose-schema-extend not valid with the later versions of mongoose?
The text was updated successfully, but these errors were encountered: