Closed sergeyboyko0791 closed 1 year ago
serde-wasm-bindgen
likely doesn't handle serde(deny_unknown_fields)
attribute properly. Will try to find a workaround.
I had to disable serde(deny_unknown_fields)
due to https://github.com/cloudflare/serde-wasm-bindgen/issues/39
As a workaround I can follow this advice https://github.com/cloudflare/serde-wasm-bindgen/issues/39#issuecomment-1372332074 Please let me know if it's critical to deny unknown fields.
wasm-bindgen::serde-serialize
feature may lead to a cyclic package dependency likeDue to this problem,
JsValue::into_serde
andJsValue::from_serde
were deprecated at https://github.com/rustwasm/wasm-bindgen/pull/3031Motivation: https://github.com/KomodoPlatform/atomicDEX-API/issues/1042#issuecomment-1348375886