Closed Wicpar closed 5 months ago
This looks a bit off, let me take a stab at this
Let's add the #[serde(untagged)]
variant to the messages enum instead?
https://serde.rs/variant-attrs.html#untagged
This should work for a generic "fallback" type.
I'm closing this as i no longer encounter the issues in the most recent version
Fixes #167
There is maybe a better way to deserialize, but would not be as simple.