Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the handling of Enums #4980

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

ndonkoHenri
Copy link
Contributor

@ndonkoHenri ndonkoHenri commented Feb 26, 2025

Summary by Sourcery

Refactor the codebase to use ExtendedEnum instead of Enum for enum classes. This change allows for case-insensitive string comparison when checking equality with enum values, improving the flexibility and usability of enums throughout the Flet framework.

@ndonkoHenri ndonkoHenri added the enhancement Improvement/Optimization label Mar 3, 2025
@ndonkoHenri ndonkoHenri added this to the Flet v0.28.0 milestone Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement/Optimization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants