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

Make mongoose adapter compatible with mongoose 6, 7 and 8 #397

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Freezystem
Copy link
Contributor

I'm recreating this PR as the preceding one has been automatically closed while resyncing my fork.

I've refactorized connect() and disconnect() methods from mongoose adapter to be compatible with mongoose 6, 7 and 8.

I've checked that it worked properly by running the tests after installing each versions (6, 7, 8) of mongoose locally in the adapter repo.

I have tried to make tests run against mongoose 7 and 8 but it's a complete mess using old version of lerna.

I propose to merge it like that and add mongoose 7 and 8 tests once the npm workspaces refacto is done.

@Freezystem
Copy link
Contributor Author

@icebob I'd love to have your review on this one if you've got some time to spare 🙏🏼

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.

1 participant