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: enable Mongoose plugin registration in schemas #221

Merged
merged 1 commit into from
Apr 20, 2024

Conversation

Josuto
Copy link
Owner

@Josuto Josuto commented Apr 20, 2024

What is the purpose of this pull request?

Put an "X" next to item:

[ ] Documentation update
[x] Bug fix
[ ] New feature
[x] Other, please explain: resolved flaky tests issue

What changes did you make?

Added new plugins property to options parameter of extendSchema. Introduced mongoose-unique-validator to validate plugin registration. Finally, updated book transactional repository test to fix recurring flaky tests.

Which issue (if any) does this pull request address?

#220

Is there anything you'd like reviewers to focus on?

Added new plugins property to options parameter of extendSchema. Introduced mongoose-unique-validator to validate plugin registration. Finally, updated book transactional repository test to fix recurring flaky tests.
@Josuto Josuto linked an issue Apr 20, 2024 that may be closed by this pull request
@Josuto Josuto merged commit b971fc3 into main Apr 20, 2024
10 checks passed
@Josuto Josuto deleted the enable_plugin_registration branch April 20, 2024 17:40
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.

Mongoose plugin registration not working
1 participant