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
Hi, just tried your library for the first time and really like it, also love its simplicity.
What lead me here is that I tried #[serde(flatten)] and got the error.
Here's one suggestion that would work pretty well IMHO, for serde struct flattening,
given for example this code:
I thought that would be a pretty good fit, especially since in Typescript an interface can inherit multiple interfaces, and it also does flatten the nested fields in the parent definition.
Let me know what you think, thanks for reading me :)
The text was updated successfully, but these errors were encountered:
Hi, just tried your library for the first time and really like it, also love its simplicity.
What lead me here is that I tried
#[serde(flatten)]
and got the error.Here's one suggestion that would work pretty well IMHO, for serde struct flattening,
given for example this code:
would generate:
I thought that would be a pretty good fit, especially since in Typescript an interface can inherit multiple interfaces, and it also does flatten the nested fields in the parent definition.
Let me know what you think, thanks for reading me :)
The text was updated successfully, but these errors were encountered: