Skip to content

add mongoose 4-5 compatibility#16

Merged
wheresvic merged 1 commit intowheresvic:masterfrom
devdoomari3:add-mongoose-4-5-compatibility
Aug 23, 2018
Merged

add mongoose 4-5 compatibility#16
wheresvic merged 1 commit intowheresvic:masterfrom
devdoomari3:add-mongoose-4-5-compatibility

Conversation

@devdoomari3
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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.

3 participants