Skip to content

Fix: handling useImplementingTypes and defaultNullableToNull #181

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

Merged
merged 2 commits into from
Feb 26, 2025

Conversation

mateusz-slab
Copy link
Contributor

Hi @ardeois , thank you for the great package!

When useImplementingTypes and defaultNullableToNull are used at the same time, the plugin outputs weird || || || || in generated fixtures. This PR fixes this problem.

Copy link
Owner

@ardeois ardeois left a comment

Choose a reason for hiding this comment

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

Looks good thanks !
Can you add a unit test for this please?

@mateusz-slab
Copy link
Contributor Author

Thank you for acting promptly! I've added relevant test case that is failing on the latest version and works fine on this branch.

@mateusz-slab
Copy link
Contributor Author

Hi @ardeois. Is there anything I can do to help you with merging this branch? I don't want to be pushy but it would be great if we didn't have to maintain our own fork for this :)

@ardeois ardeois self-assigned this Feb 26, 2025
@ardeois
Copy link
Owner

ardeois commented Feb 26, 2025

Hi @ardeois. Is there anything I can do to help you with merging this branch? I don't want to be pushy but it would be great if we didn't have to maintain our own fork for this :)

Sorry about that I missed the notification, I'll merge it soon

@ardeois ardeois added the patch Increment the patch version when merged label Feb 26, 2025
@ardeois ardeois merged commit e5c1ce6 into ardeois:main Feb 26, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants