barrister icon indicating copy to clipboard operation
barrister copied to clipboard

extend support to idl containers

Open gregory opened this issue 9 years ago • 2 comments

doc: https://thrift.apache.org/docs/types#containers

Would be nice to get list, setand map

gregory avatar Jan 11 '16 02:01 gregory

Hi there. Lists are supported already using []. Maps would be possible assuming the keys are always strings (as required by JSON). How would you expect sets to work?

coopernurse avatar Jan 11 '16 04:01 coopernurse

hey! True, i got away with the [] and struct for map. Not sure about set, but i was wondering why and how hard would it be to implement those idl types?

ps: i started to work on a barrister-amqp FYI: https://github.com/gregory/barrister-amqp

gregory avatar Jan 14 '16 14:01 gregory