-
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
✨ feat(api): add user unblock api #263
Conversation
yunyoung1819
commented
Jul 23, 2023
- Resolve: Add User Unblock API #205
@@ -21,9 +22,19 @@ public class UserBlockController { | |||
@PostMapping("/users/block") | |||
public ResponseEntity<BlockUserResponseDto> blockUser( | |||
@ReqUser User user, | |||
@RequestParam(value = "blockUserID") Long blockUserID | |||
@RequestParam(value = "blockUserId") Long blockUserId |
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.
변경하면 이전버전 IOS에서 호환이 안되어서 우선은 유지해야 될 것 같습니다. 변경하려고 하면 버저닝 해서 기존꺼 유지하면서 다른 API로 추가하고 충분히 업데이트 되면 기존 버전을 없애는 방식으로 처리해야될 것 같습니다
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.
넵 따로 기능이 변경된 것은 아니여서 버저닝하기보단 파라미터를 기존 이름으로 복원하였습니다.
기존 api 수정 시 버저닝도 계속 고려해야겠군요.
수정 완료했습니다. 감사합니다. Good!
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.
LGTM
* ✨ feat: add user unblock api * ♻️ refactor: UserBlockService blockUser Parameter name rollback * ♻️ refactor: UserBlockService blockUser Parameter name rollback