-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unstructure hook for NewType
not invoked if NewType
appears in a union
#380
Labels
Comments
You're right, our optional handling is very old and can be improved. Taking a look at it now. |
This should be fixed on main now, let me know! |
Yep, works now, thanks. |
Although, if I replace |
Yeah we don't support any union, just a subset for now. It's tricky to do well. |
Alright, thanks for clarifying! |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Description
NewType
unstructure hooks are not invoked if the new type appears in a union with other types.What I Did
The text was updated successfully, but these errors were encountered: