simplQ-backend icon indicating copy to clipboard operation
simplQ-backend copied to clipboard

TechDebt: Remove overloaded status enums.

Open daltonfury42 opened this issue 3 years ago • 4 comments

Our backend is very straightforward CRUD on two resources, queues and tokens. Both of them have two status fields, QueueStatus and TokenStatus.

These enums are a bit overloaded, a better approach would be remove them and have booleans, (isPaused, isRemoved) for queues, and (isRemoved, isNotified) for tokens.

daltonfury42 avatar Apr 25 '21 12:04 daltonfury42