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
Some types that are annotated with a type description are also annotated with serde tags. Since TypeDescriptions are not meant to be used for serialization this is fine, however for some configs this could mean there is a mismatch between the given config and what serde expects.
Context
Some types that are annotated with a type description are also annotated with serde tags. Since
TypeDescription
s are not meant to be used for serialization this is fine, however for some configs this could mean there is a mismatch between the given config and what serde expects.An example:
While
TypeDescription
will continue to reportname
, serde expects athe_name
field.This feature request is to add a mechanism to align them both.
Alternatives
An alternative is to not have an alignment feature, and instead have the user manually add the required annotations.
If the feature request is approved, would you be willing to submit a PR?
Yes :)
The text was updated successfully, but these errors were encountered: