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

Generate enum for columns #3

Open
chriskapp opened this issue Feb 18, 2024 · 0 comments · May be fixed by #4
Open

Generate enum for columns #3

chriskapp opened this issue Feb 18, 2024 · 0 comments · May be fixed by #4

Comments

@chriskapp
Copy link
Member

Currently all columns are provided as constant at the table class. We should generate a dedicated "Column" enum which contains all columns names. This has also the great advantage that we can type-hint a column name. If we have a table i.e. App, we can generate beside the AppRow and AppTable class a new AppColumn enum containing all columns names.

@chriskapp chriskapp linked a pull request Feb 18, 2024 that will close this issue
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 a pull request may close this issue.

1 participant