-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Options are currently Literals. This has some nice type hint benefits in your code editor and keeps things simple. But it doesn't flexibly capture any case validation of most AdaptiveCard enums (option fields).
Can investigate using a wrap validator (complicated & slow) or case insensitive StrEnums combined with a before/after validator (not important really). Or could implement the StrEnum as a custom class. Like the failed AnyCaseLiteral. Unlike Literal which is super unique in python, StrEnum would have worked..
Metadata
Metadata
Assignees
Labels
No labels