Skip to content

Conversation

@JeanMertz
Copy link
Collaborator

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.

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>
Signed-off-by: Jean Mertz <git@jeanmertz.com>
Signed-off-by: Jean Mertz <git@jeanmertz.com>
Signed-off-by: Jean Mertz <git@jeanmertz.com>
Signed-off-by: Jean Mertz <git@jeanmertz.com>
Signed-off-by: Jean Mertz <git@jeanmertz.com>
@JeanMertz JeanMertz merged commit 4e6bbb7 into main Feb 3, 2026
12 checks passed
@JeanMertz JeanMertz deleted the improve-tool-inquery53 branch February 3, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant