- Notifications
You must be signed in to change notification settings - Fork928
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
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? |
codecovbot commentedApr 28, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
|
Uh oh!
There was an error while loading.Please reload this page.
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!
Uh oh!
There was an error while loading.Please reload this page.
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
Uh oh!
There was an error while loading.Please reload this page.
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.