thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Geyer <>
Subject Re: Why are there no unions in ThriftTest.thrift?
Date Wed, 07 Dec 2016 08:09:27 GMT
Hi George,

good question. Main reason is very likely because a) they were added later 
and b) they work a lot like structs.

Nevertheless you are absolutely right, they should be, as they are a core 
part of the language. Would you mind adding them and some test cases in one 
or two languages of your choice? That would be awesome. Having that, we can 
start integrating those test cases in all other languages.

@Aki, Jake & Roger: That will very likely break the Test suite until all 
languages are properly covered. How can we handle this? Feature branch 

Have fun,

-----Urspr√ľngliche Nachricht----- 
From: Allen George
Sent: Wednesday, December 7, 2016 12:09 AM
Subject: Why are there no unions in ThriftTest.thrift?

It seems like a lot of other cases are covered, and unions seem like a
surprising omission. Why is that? I also notice that includes (and so,
namespaced-types) are not there as well.


View raw message