Use serde_with::skip_serializing_none
macro to reduce code noise
#93
Labels
good first issue
Good for newcomers
Currently, every optional field in every struct (i.e. most fields) is annotated with
#[serde(skip_serializing_if = "Option::is_none")]
.We can ass a dependency for serde_with and use the skip_serializing_none macro to massively reduce the amount of noise when defining the structs.
The text was updated successfully, but these errors were encountered: