intercom-go icon indicating copy to clipboard operation
intercom-go copied to clipboard

Omit empty takes ability to unset fields

Open huttarichard opened this issue 6 years ago • 0 comments

Referring to #30 there is an issue with ,omitempty tag.

Omit empty is not just causing empty values not to be set (coz they are omitted) but also it takes from you ability to unset fields from objects.

You cannot unset phone or email if you need to. Yet it is possible with Intercom API.

huttarichard avatar Nov 26 '18 13:11 huttarichard