msgspec cannot decode the union Item.code: its int-like members Code, int include an Enum, while a msgspec union holds an Enum only as its one int-like member. Pass --enum-field-as-literal all to write enums as Literal values, which msgspec decodes beside int and other Literal values.
msgspec cannot decode the union Item.color: its str-like members Color, Literal['blue'] include an Enum, while a msgspec union holds an Enum only as its one str-like member. Pass --enum-field-as-literal all to write enums as Literal values, which msgspec decodes beside str and other Literal values.
