Skip to content

Commit 4e6bbb7

Browse files
authored
fix(config): Use correct Deserialize impl for enums (#389)
Since the latest version of `schematic`, untagged enums have a custom `Deserialize` implementation that conflicts with our `with` attributes. The new `skip_custom_untagged_enum_deserialize_impl` attribute ensures our `with` attributes are used instead. Additionally, the new `literal` attribute makes sure that `schematic`'s schema generation uses string literals for enum variants, as opposed to the default `null` for unit variants in enums. --------- Signed-off-by: Jean Mertz <git@jeanmertz.com>
1 parent f1c18d4 commit 4e6bbb7

File tree

6 files changed

+168
-141
lines changed

6 files changed

+168
-141
lines changed

0 commit comments

Comments
 (0)