-
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
[#89] feat: 내가 속한 모임 리스트 조회 API 구현 #93
Conversation
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.
너무너무너무너무 고생했습니다!!
if (jwtTokenProvider.validateToken(accessToken) | ||
== VALID_JWT_TOKEN) { // 토큰이 존재하고 유효한 토큰일 때만 | ||
Integer userId = jwtTokenProvider.getAccessTokenPayload(accessToken); | ||
UserAuthentication authentication = new UserAuthentication(userId, null, |
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.
굉장히.. 특이한... 줄바꿈 형식이네요?
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.
아니 이거 무슨 구글 자바 스타일 가이드 컨벤션으로 맞춰놓은건데 ,,, 다른 걸로 맞출까요 ,,,? 허허
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.
맞춰보시죠!!
import org.sopt.makers.crew.main.entity.user.vo.UserActivityVO; | ||
|
||
@Entity | ||
@Getter | ||
@NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
@Table(name = "user") | ||
@Table(name = "user", schema = "web_dev") |
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.
요렇게 스키마 지정해두면 prod환경에서는 자동적으로 변경되는 건가요?? (몰라서 물음)
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.
아뇨 ㅠ 이거 자꾸 테이블을 못찾아서 테스트용으로 붙여놨었는데 PhysicalNamingStrategy 구현체 직접 갈아껴서 해결해가지고,,! 요 부분 삭제 해두겠습니다 !
.collect(Collectors.toList()); | ||
|
||
if (userJoinedList.isEmpty()) { | ||
throw new BaseException(HttpStatus.NO_CONTENT); |
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.
exception도 나중에 같이 한번 정의해봅시다!!
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.
넵 ! 좋아요 !!
지금처럼 해두어도 괜찮을 것 같아요! 이원화 된 동안은 어쩔 수 없을 듯! |
바꾸시죠!! 저도 이거 언제까지 짧은 걸로 할 수는 없다고 생각은 했어서 길게 한번 바꾸면 될 것 같아요. 기존 사용자들은 한번 더 로그인 해야겠지만.... 네이밍은 센스있게 한번 가져가보죠! 이거 플그랑 맞춰도 괜찮을지도? |
머지해도 조아용 |
👩💻 Contents
📝 Review Note
📣 Related Issue