Closed TheBuilderJR closed 5 months ago
I think this issue is still relevant. I just got the same error with version 0.37.0
.
It looks like the default / #[serde(other)]
is not working.
According to the documentation of #[serde(other)]
it is only for "[...] a unit variant inside of an internally tagged or adjacently tagged enum".
Describe the bug
I get the following error
in the following code
To Reproduce
Have stripe send a billing portal webhook
Expected behavior
no Error
Code snippets
No response
OS
MacOS
Rust version
cargo 1.74.0-nightly (59596f0f3 2023-09-29)
Library version
0.26.0
API version
0.26.0
Additional context
No response