-
Notifications
You must be signed in to change notification settings - Fork 447
feat: Add to List Users API the ability to filter users by location #848
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
Codecov Report
@@ Coverage Diff @@
## develop #848 +/- ##
========================================
Coverage 95.99% 96.00%
========================================
Files 96 96
Lines 5293 5306 +13
========================================
+ Hits 5081 5094 +13
Misses 212 212
|
Can you please review my PR? Thanks |
Sure. I'll get back to you. |
@ashokrayal On an initial review looks good. Great Effort, though. |
Hi @paritoshsinghrahar @isabelcosta, @vj-codes, |
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.
Reviewed it again. Seems legit and great. LGTM!!
@isabelcosta, please review.
@isabelcosta This looks good, But before merging any of the filter PRs, I'd be willing to have a discussion on what the best approach is to implement this or refactor this later. Currently, the function and the parameters suffers from all kinds of code smell, so I am open to all kinds of ideas on how to implement filtering in a clean way. |
@isabelcosta @SanketDG does this PR need further discussion before being tested and merged? |
@SanketDG I agree with you. Will wait for the test and then merge. |
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.
@ashokrayal can you please solve the merge conflicts
I will surely do it today |
Here are some basic ideas to abstract away filtering into a common piece of code (so that it doesn't end up having 20 arguments in the function signature)
|
62d68cc
Putting on hold as the best approach is not decided yet |
@vj-codes could you create, in case it does not exist yet, an issue to implement filtering in a generic way. |
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.
Closing due to inactivity, thank you for your contribution!
Follow up issue will be made.
Description
Fixes #760 Add to List Users API the ability to filter users by location
Type of Change:
Code/Quality Assurance Only
How Has This Been Tested?
I have updated location for few users then I tried to search from /users and /users/verified endpoints and It was giving expected results.
Checklist:
Code/Quality Assurance Only