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

Replace message status by something meaningful in the code #165

Open
antonykamp opened this issue Sep 2, 2021 · 0 comments
Open

Replace message status by something meaningful in the code #165

antonykamp opened this issue Sep 2, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@antonykamp
Copy link
Member

Is your feature request related to a problem? Please describe.
The status of a shopping list (pending, accepted, archived) equals a simple number. Without knowing the meaning behind it, the code is hard to understand.

Describe the solution you'd like
It would be great, if we could handle the status as strings (pending, accepted, archived) in the code and as numbers in the database (1, 2, 3). That sounds like enums to me :)

Describe alternatives you've considered
Mentioning it in the README or CONTRIBUTING is another idea, but it isn't a consistent solution.

@antonykamp antonykamp added the enhancement New feature or request label Sep 2, 2021
@antonykamp antonykamp added the good first issue Good for newcomers label Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant