There are a few instances where some fields are optional and/or may not be present and we currently seem to lean on serde ignoring unrecognized fields. We should try to make these fields explicitly optional if possible. Some examples would OptionsSupported or OrderPayment::onchain_payment, however, I expect the latter case has to be made optional anyways.
There are a few instances where some fields are optional and/or may not be present and we currently seem to lean on
serde
ignoring unrecognized fields. We should try to make these fields explicitly optional if possible. Some examples wouldOptionsSupported
orOrderPayment::onchain_payment
, however, I expect the latter case has to be made optional anyways.