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

Overwrite:true not working #50

Open
brijeshhroy opened this issue Mar 17, 2023 · 2 comments
Open

Overwrite:true not working #50

brijeshhroy opened this issue Mar 17, 2023 · 2 comments

Comments

@brijeshhroy
Copy link

At 02:25 , overwrite:true was written as option in PUT request and to implement it default:false was removed from Schema.js.However as of now in March 2023 , I can see that overwrite:true is no more working even if changing schema. I think something has changed.
Anyone having any idea ?

@AkmDgreat
Copy link

@brijeshhroy are you using the same package versions as John Smilga?

@Harsh-2909
Copy link

Based on ChatGPT, the overwrite option still exists in mongoose.js v7 (latest at the time of this answer). But I was unable to find the overwrite option in the docs so take this answer with a grain of salt.

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