You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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,
}
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: