You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm hoping to return the ValidationState struct from a Rust Node API using serde_wasm_bindgen. However, the struct does not serialize how I would expect it to.
Hi,
I'm hoping to return the
ValidationState
struct from a Rust Node API usingserde_wasm_bindgen
. However, the struct does not serialize how I would expect it to.The above code produces the following output (formatted):
Note that the "states" field is missing from the serialized error unless it is downcast.
Is this the expected/intended behaviour?
The text was updated successfully, but these errors were encountered: