hooklift/gowsdl

Omitempty is assumed

denysvitali opened this issue · 0 comments

When the WSDL is parsed, the resulting struct looks like following by default:

IncludeABC bool `xml:"includeABC,omitempty" json:"includeABC,omitempty"`

Unfortunately for requests (especially with bools), omitting the value when is false is not always a good idea since not all the implementations have false as the default.

This should anyways only affect XYZRequest structs.