Commit 4e6bbb7
authored
fix(config): Use correct
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>Deserialize impl for enums (#389)1 parent f1c18d4 commit 4e6bbb7
File tree
6 files changed
+168
-141
lines changed- crates/jp_config/src
- conversation/tool
- model
6 files changed
+168
-141
lines changed
0 commit comments