-
Notifications
You must be signed in to change notification settings - Fork 1
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
217 new admin endpoints: search user #233
Conversation
HubertWojcik10
commented
Dec 7, 2023
- create an endpoint to search for user(s) based on their id, name, or email.
45b4c45
to
3ab7b21
Compare
I tried to look a bit into the frontend for this :) I found a few things to consider:
Sorry for the many comments 😅 I just learned/found a couple things when messing around with the frontend framework 😄 Merry Xmas 🎄 |
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.
I have added various comments and added my thoughts to the implementation of the search query. Hope it makes sense else let's start a discussion on Slack :)
Also, we should start implementing tests, also for this API endpoint. I can help to create an example to get you started @HubertWojcik10 :)
coffeecard/CoffeeCard.WebApi/Controllers/v2/AccountController.cs
Outdated
Show resolved
Hide resolved
coffeecard/CoffeeCard.WebApi/Controllers/v2/AccountController.cs
Outdated
Show resolved
Hide resolved
coffeecard/CoffeeCard.WebApi/Controllers/v2/AccountController.cs
Outdated
Show resolved
Hide resolved
coffeecard/CoffeeCard.Models/DataTransferObjects/v2/User/UserSearchResponse.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Hubert <hubert.wojcik002@gmail.com>
Quality Gate failedFailed conditions 0.0% Coverage on New Code (required ≥ 80%) |