wasmCloud Application Deployment Manager (wadm) is a Wasm-native orchestrator for managing and scaling declarative wasmCloud applications.
108
stars
28
forks
source link
[BUG] Add `default` to fields that also have `skip_serializing_if` #466
Open
brooksmtownsend opened 1 month ago
In the
Metadata
example: https://github.com/wasmCloud/wadm/blob/main/crates/wadm-types/src/lib.rs#L180 if you construct a manifest and try to deploy it usingwadm-client
, theannotations
field will not be serialized, and then wadm will fail to deserialize the manifest.For any of our BTreeMap / HashMaps that have the serde
skip_serializing_if
annotation, we also need to adddefault
there (seelabels
for an example)This is a great first issue to fix a frustrating bug.