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

Added test for regression on invalid types #364

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

jaapio
Copy link
Member

@jaapio jaapio commented Apr 9, 2024

Added an more extensive test suite for invalid and valid types covered by this library. This does not cover all types supported by the type-resolver but it helps to cover the most common cases.

@jaapio
Copy link
Member Author

jaapio commented Apr 9, 2024

@williamdes I added some more tests in this pr and a small fix that will catch issues when types are not valid. The tests are easy to extend so if you want to make sure we cover some extra situations please do create a pr.

I think after testing this a lot, that I cannot find any regressions or breaking changes. So we should be quite good to go now.

@jaapio jaapio merged commit 298d2fe into 5.x Apr 9, 2024
21 of 22 checks passed
@jaapio jaapio deleted the fix/catch-invalid-type-creation branch April 9, 2024 21:14
@williamdes
Copy link
Contributor

Thank you for your hard work, I will update Doctum soon

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.

2 participants