Closed kevin-greene-ck closed 5 years ago
@hayes This is what I came up with. Look okay to you? Test fixture for this: https://github.com/creditkarma/thrift-typescript/pull/163/files#diff-8b97c3b8f61620cfd5530231d88df535
looks good to me!
testing it out now on our code base.
confirmed that this works with all our schemas! thanks for getting this together so quickly.
Cool, I'll publish in a few minutes.
Released in 3.7.1
Resolves #162
Fixes an issue where defined defaults in unions could result in multiple fields being set.