-
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
Implement Question Search Endpoint #555
Implement Question Search Endpoint #555
Conversation
…ckend-implement-get-usersuseridfollowing-endpoint
This reverts commit 1281dca.
private String title; | ||
private DifficultyLevel difficulty; | ||
private Long upvoteCount; | ||
private Long downvoteCount; |
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.
content field needed here.
@@ -75,4 +82,12 @@ public List<User> getFollowers(User user) { | |||
return user.getFollowers().stream().toList(); | |||
} | |||
|
|||
public Page<User> searchUsers(String query, int page, int pageSize) { |
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.
Where is corresponding endpoint ?
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.
Some changes are same with #552
…ckend-implement-get-usersuseridfollowing-endpoint
…' into 529-backend-implement-question-search-endpoint
…into 529-backend-implement-question-search-endpoint # Conflicts: # backend/src/main/java/com/group1/programminglanguagesforum/Controllers/QuestionController.java # backend/src/main/java/com/group1/programminglanguagesforum/Services/QuestionService.java
dca13e0
to
71d5255
Compare
…into 529-backend-implement-question-search-endpoint # Conflicts: # backend/src/main/java/com/group1/programminglanguagesforum/Controllers/QuestionController.java # backend/src/main/java/com/group1/programminglanguagesforum/Services/QuestionService.java
…into 529-backend-implement-question-search-endpoint # Conflicts: # backend/src/main/java/com/group1/programminglanguagesforum/Controllers/QuestionController.java # backend/src/main/java/com/group1/programminglanguagesforum/Services/QuestionService.java
📋 Proposed Changes
Related Issue
Closes #529