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

add mongoose 4-5 compatibility #16

Merged

Conversation

devdoomari3
Copy link
Contributor

add mongoose 5 compatibility:

mongoose 5 does not have "next" function on hooks while mongoose 4 requires "next" function on hooks.

The solution is adding a 'fake' "next" function for mongoose5 for mongoose 4-5 compatibility.

@coveralls
Copy link

coveralls commented Aug 23, 2018

Coverage Status

Coverage decreased (-2.6%) to 95.098% when pulling 7484d84 on devdoomari3:add-mongoose-4-5-compatibility into 677279e on victorparmar:master.

@devdoomari3 devdoomari3 force-pushed the add-mongoose-4-5-compatibility branch from edbd3a6 to 7484d84 Compare August 23, 2018 09:32
@wheresvic wheresvic self-assigned this Aug 23, 2018
@wheresvic wheresvic merged commit 6e15caa into wheresvic:master Aug 23, 2018
@wheresvic
Copy link
Owner

Hi @devdoomari3

Thanks a lot for this PR, really appreciate it :)

I have merged this in and published a new release v1.1.0, cheers!

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.

None yet

3 participants