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

Change the data type for priority in tasks #4

Closed
AYM1607 opened this issue Mar 12, 2019 · 1 comment
Closed

Change the data type for priority in tasks #4

AYM1607 opened this issue Mar 12, 2019 · 1 comment

Comments

@AYM1607
Copy link
Owner

AYM1607 commented Mar 12, 2019

The task model uses ints to encode the priority, this could lead to confusion and bugs.
Change it to use an enum. Add the parsing capabilities needed to interact with firestore.

the enum should look something like:

enum TaskPriority {
    low,
    medium,
    high,
}
@AYM1607
Copy link
Owner Author

AYM1607 commented Apr 1, 2019

f381465 resolves this issue.

@AYM1607 AYM1607 closed this as completed Apr 1, 2019
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

No branches or pull requests

1 participant