Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
Patch Available
Description
The various generated IsSetXYZ() methods just check for magic values of their respective fields. This is obviously broken, and also diverges from the implementation in other languages.
I am willing and able to fix this myself, but I don't want to start on any impl until we can decide on an approach.
At this point, though, optional fields in Go are basically useless if one's application makes use of the magic "absence" value.
Attachments
Attachments
There are no Sub-Tasks for this issue.