Given the follow thrift definition:
with the following constant map defined in the same file:
Thrift generates the following go struct in the main
with the corresponding assignments in the
I assume field_b's pointer type is to allow for null values as per the optional. The generator should be assigning pointers instead of strings.
I'm not sure how much effort it would take to fix this. I am encountering this problem at work right and would be very happy to starting working on this with some guidance from experts around here.