Skip to content
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

this.remove() is not a function #15

Closed
misterioss opened this issue Nov 17, 2023 · 5 comments
Closed

this.remove() is not a function #15

misterioss opened this issue Nov 17, 2023 · 5 comments

Comments

@misterioss
Copy link

Everything else works OK except for DELETE method.

I am not sure, maybe it's related to some deprecation.

I use:
fastify-mongoose-api": ^1.2.20
mongoose": "^7.6.3

@jeka-kiselyov
Copy link
Owner

Will check today. Thanks for the report.

@jeka-kiselyov
Copy link
Owner

@misterioss fixed and published as 1.2.22 , now it should work with mongoose v7..

@EmilianoBruni published your fix as part of it too. But had little mess with merges. Seems everything is fine and tests are ok, but please take a quick look when you have time.

@EmilianoBruni
Copy link
Collaborator

@jeka-kiselyov Ok, will check in the weekend

@EmilianoBruni
Copy link
Collaborator

Everything seems to be working for me. I also replaced the references in all my projects to use the official version and I don't notice any problems.

@jeka-kiselyov
Copy link
Owner

Thank you @EmilianoBruni !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants