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
serde compatibility could be extremely useful (like with ts_rs).
The 'Difference' macro should recognize some serde attributes (such as rename or rename_all) and add them to the resulting difference enum.
Given the previous example, the resulting ExampleDiff enum should have the attribute #[serde(rename_all(serialize = "camelCase"))] and its update variant the attribute #[serde(rename = "updatedAt")].
This ensures that the Example struct and ExampleDiff enum are in sync with their ser(de) counterparts.
Activity