-
Notifications
You must be signed in to change notification settings - Fork 64
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
Fixed conflict for createdAt and __v when doing update or findOneAnd… #48
base: master
Are you sure you want to change the base?
Conversation
Any plans to merge this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@drudge Please review and merge this pull request.
When can this be merged ? getting the same error. |
I don't think @drudge is active. So I have published this fork separately as mongoose-timestamp2. |
@abhijitborade simply replacing mongoose-timestamp with mongoose-timestamp2, still had the error for me. Maybe I missed something? |
@developdeez, can you share your query? |
|
@developdeez I got it fixed. Check this issue in mongoose-timestamp2. |
@abhijitborade awesome. I'll check it out asap. thanks :) |
@drudge Any chance this could get merged into the main package? Are you still maintaining this? A good number of people are still downloading and using this package. |
This is patch for Issue #46.
MongoError: Updating the path 'createdAt' would create a conflict at 'createdAt'