You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to propose a special case for the type signature where an option wraps a union.
I believe that when external input is not correct (say an unknown case) that if the type is Union option it should be a default or a config option to return None instead of throwing
Currently an unknown case will just throw in the recursive call to the same serializer with System.Exception: Cannot parse DU field-less value: z. Expected names: x, y
The text was updated successfully, but these errors were encountered:
I'd like to propose a special case for the type signature where an option wraps a union.
I believe that when external input is not correct (say an unknown case) that if the type is
Union option
it should be a default or a config option to return None instead of throwingCurrently an unknown case will just throw in the recursive call to the same serializer with
System.Exception: Cannot parse DU field-less value: z. Expected names: x, y
The text was updated successfully, but these errors were encountered: