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/#93. 공통응답형식 처리 통일 #96

Merged
merged 4 commits into from
May 13, 2024
Merged

Feat/#93. 공통응답형식 처리 통일 #96

merged 4 commits into from
May 13, 2024

Conversation

RokwonK
Copy link
Member

@RokwonK RokwonK commented May 13, 2024

Issue

Summary

  • 공통응답형식 처리 통일
    • 기존 String, 객체에 따라 ResponseBodyAdvice, ReturnValueHandler로 나눠진 로직을 ReturnValueHandler에서 전부 처리
  • Slack 메세지 포맷 조금 수정
  • 워크플로우 job if 조건식 적용안되는 문제 수정

Description

  • 설명할 부분

@RokwonK RokwonK requested a review from JinDDung2 as a code owner May 13, 2024 05:41
@RokwonK RokwonK self-assigned this May 13, 2024
@RokwonK RokwonK added the refactoring refactoring label May 13, 2024
Copy link
Collaborator

@JinDDung2 JinDDung2 left a comment

Choose a reason for hiding this comment

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

일관된 응답처리 좋네요! LGTM~

Comment on lines +27 to +35
val realReturnValue =
if (returnValue is String)
SuccessResponse(
message = returnValue,
data = SuccessResponse(data = null)
)
else
SuccessResponse(data = returnValue)

Copy link
Collaborator

Choose a reason for hiding this comment

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

이부분에서 공통된 응답으로 처리하는게 좋네요 :)

@RokwonK RokwonK merged commit 242f950 into develop May 13, 2024
@RokwonK RokwonK deleted the feat/#93 branch May 13, 2024 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat. 공통응답형식 통일시키기
2 participants