-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Unstructure hook for NewType
not invoked if NewType
appears in a union
#380
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! |
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: