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: add extra compatibility with versions #22

Merged
merged 2 commits into from
May 14, 2024

Conversation

Noheliajoeliana
Copy link
Contributor

I noticed that tests were passing but the output wasn't as expected, so I added more tests to correctly check deeper schemas (with version 5 and 8) and made the generation compatible with both

Some types don't exist in older versions, and some schemaTypes are removed in newer versions

Some types doesn't exist in older versions, and some schemaTypes are removed in newer versions
@Noheliajoeliana Noheliajoeliana self-assigned this May 6, 2024
@Noheliajoeliana Noheliajoeliana added bug Something isn't working enhancement: feature New feature or request labels May 6, 2024
src/index.js Outdated Show resolved Hide resolved
Copy link
Member

@matiaslopezd matiaslopezd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compatibility with mongoose 5.x and later

@matiaslopezd matiaslopezd merged commit 6a87760 into develop May 14, 2024
5 checks passed
Copy link

🎉 This PR is included in version 1.4.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement: feature New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants