Skip to content
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

Merged
merged 3 commits into from
Jul 27, 2023
Merged

✨ feat(api): add user unblock api #263

merged 3 commits into from
Jul 27, 2023

Conversation

yunyoung1819
Copy link
Collaborator

@yunyoung1819 yunyoung1819 added the ✨feature New feature or request label Jul 23, 2023
@yunyoung1819 yunyoung1819 self-assigned this Jul 23, 2023
@@ -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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

변경하면 이전버전 IOS에서 호환이 안되어서 우선은 유지해야 될 것 같습니다. 변경하려고 하면 버저닝 해서 기존꺼 유지하면서 다른 API로 추가하고 충분히 업데이트 되면 기존 버전을 없애는 방식으로 처리해야될 것 같습니다

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵 따로 기능이 변경된 것은 아니여서 버저닝하기보단 파라미터를 기존 이름으로 복원하였습니다.
기존 api 수정 시 버저닝도 계속 고려해야겠군요.
수정 완료했습니다. 감사합니다. Good!

Copy link
Collaborator

@seonghun-dev seonghun-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yunyoung1819 yunyoung1819 merged commit 07a56bb into dev Jul 27, 2023
1 check passed
@yunyoung1819 yunyoung1819 deleted the feature/user-block branch July 27, 2023 03:47
seonghun-dev pushed a commit that referenced this pull request Jul 31, 2023
* ✨ feat: add user unblock api

* ♻️ refactor: UserBlockService blockUser Parameter name rollback

* ♻️ refactor: UserBlockService blockUser Parameter name rollback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add User Unblock API
2 participants