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 have to look into it again, but IIRC it was hard to distinguish between unions and structs via reflection (which thrift-clj relies on), since they are using the same type ID.
But yes, this was on the initial road map, I just never got around to it. That said, contributions are welcome. :)
I'm fine playing around with structs, but when I add the following to the thrift file:
I can't instantiate the Identity union. It feels like I should be able to use:
but this throws the error "Not an optional field: email"
Does the library currently support unions? If so, I'd be happy to add documentation to the readme.
The text was updated successfully, but these errors were encountered: