-
Notifications
You must be signed in to change notification settings - Fork 939
feat: add filter by status on GET /users #1206
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
Conversation
@presleyp this is a bit different from what we discussed in the epic but I think it is better since allows us to easily filter users using other statuses. What do you think? |
Codecov Report
@@ Coverage Diff @@
## main #1206 +/- ##
==========================================
+ Coverage 65.48% 65.69% +0.21%
==========================================
Files 265 268 +3
Lines 16950 17020 +70
Branches 157 162 +5
==========================================
+ Hits 11099 11182 +83
+ Misses 4692 4678 -14
- Partials 1159 1160 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that approach works for me!
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 last comment
Discussion: #662 (comment)
Reason: The FE needs to get only the active users for now, so I think the best way for doing that is to add a filter on the GET /users endpoint so the FE can do /users?status=active.