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

Fix/increment subdoc #155

Merged
merged 2 commits into from Apr 3, 2020
Merged

Conversation

Nainterceptor
Copy link

Hello,

This PR fix #64
Tests pass
If you don't want uuid deprecation fix & dependencies update, you can cherry pick 2d505f1

Best regards,
Gaël

While we have a mongoose schema with a subdocument, it's expected to don't add hooks to this internal document, or it will cause errors.

Fix eoin-obrien#64
@eoin-obrien eoin-obrien merged commit 4dd4cb8 into eoin-obrien:master Apr 3, 2020
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

Successfully merging this pull request may close these issues.

[BUG] this.increment is not a function
2 participants