Skip values that are set to `0` in dto serialization
Thoralf-M opened this issue · comments
Thoralf-M commented
Description
For example unixTime in an expiration unlock condition, is now skipped during the serialization if it's set to 0
Motivation
Compatibility
Requirements
- Make these fields optional iotaledger/iota.go@ee47d60
Are you planning to do it yourself in a pull request?
No.
Thibault Martinez commented
Go's omitempty
also considers 0
as "empty" ?
Thoralf-M commented
Yes