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

chore: 에러 및 정규 표현식 상수화 #71

Merged
merged 8 commits into from
Feb 17, 2025

Conversation

kckc0608
Copy link
Member

@kckc0608 kckc0608 commented Feb 14, 2025

작업 내용

  • 에러 메세지 상수화
  • 공통 정규 표현식 상수화

특이 사항 (리뷰 시 참고할 내용)

  • 혹시 프론트랑 협의된 내용이 따로 있지 않다면 response body 로 성공 메세지를 꼭 넘기지 않아도 괜찮을 것 같습니다!
    (200 ok 상태코드로 이미 의도가 충분히 전달되었을 것 같다고 생각했어요)
    그래서 성공 메세지에 대한 부분은 따로 상수화하지 않았습니다.

  • 인증쪽에서 실패 메세지 상수화 안한 부분은 나중에 리팩토링 될 것 같아서 그냥 두었습니당

  • 유효성 검사 실패 에러메세지에서 검사 실패 필드는 유효성 검사 에러 메세지가 그대로 사용자에게 보여지다보니 필드명까지 포함되어 보이면 어색하다는 말이 나와서 프론트와 협의 후 빼기로 했습니다! (로그인 관련 수정사항 #52 )

관련 이슈

close #20

@kckc0608 kckc0608 added the chore 사소한 변경 사항 label Feb 14, 2025
@kckc0608 kckc0608 self-assigned this Feb 14, 2025
Copy link
Contributor

@Fluteen Fluteen left a comment

Choose a reason for hiding this comment

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

코드가 점점 보기 좋아지는 것 같아서 기분이 같이 좋아지네요ㅎㅎ 좋습니다!:)

Copy link
Contributor

@yuuuyeonho yuuuyeonho left a comment

Choose a reason for hiding this comment

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

확실히 깔끔해졌네요!! 좋습니다~~

@kckc0608 kckc0608 merged commit ff4c4fa into develop Feb 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore 사소한 변경 사항
Projects
None yet
Development

Successfully merging this pull request may close these issues.

기존 에러 메세지 상수화
3 participants