Empty args will omit kwargs on some message types
ericchapman opened this issue · comments
Eric Chapman commented
The code for additional fields is skipping kwargs if args is 'nil' or 'empty'. See below
return payload if (self.arguments.nil? or self.arguments.empty?)
payload.push(self.arguments)
return payload if (self.argumentskw.nil? or self.argumentskw.empty?)
payload.push(self.argumentskw)