This repository has been archived by the owner on Nov 29, 2023. It is now read-only.
Enum and optional annotations don't work together #829
Labels
enhancement 💡
New feature or request
@enum
Related to the @enum annotation
@optional
Related to the @optional annotation
Is your feature request related to a problem?
Annotating a function with an enum annotation (e.g. {"a", "b", "c"} -> Enum.A, Enum.B, Enum.C) works, giving it an optional annotation with the default value "a" also works, but this default value should be Enum.A and not the literal string "a".
Desired solution
Possibly expand the enum annotation to be able to mark a value as default, or expand optional annotation to add enums/code
Possible alternatives (optional)
No response
Screenshots (optional)
Additional Context (optional)
No response
The text was updated successfully, but these errors were encountered: