-
Notifications
You must be signed in to change notification settings - Fork 3
워크스페이스 채널생성 API 구현 #56
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
Conversation
ki-met-hoon
left a comment
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.
고생하셨습니다~! 피드백 잘 반영되어 있어서 좋습니다👍
몇가지 궁금한 점들을 남겨놨어요!
|
|
||
| private final WorkSpaceService workSpaceService; | ||
| private final Long userId = JootalkpiaAuthenticationContext.getUserInfo().userId(); | ||
| private final Long userId = 1L;//JootalkpiaAuthenticationContext.getUserInfo().userId(); |
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.
네 로컬에서 테스트할 때는 일단 이런 식으로 해야해요! 근데 배포 환경에서 어떻게 해야할지 보람님과 이야기하긴 했는데 정하진 못해서 나중에 논의합시당!
|
|
||
| @Getter | ||
| @MappedSuperclass | ||
| public abstract class BaseEntity { |
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.
ID 필드는 넣지 않은 이유가 있을까요?
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.
아이디는 그냥 id로 이름짓지말고 channel_id 이런 식으로 하라고 캠프장님이 말씀하셨어서 base entity로 따로 빼기가 애매하다고 판단했기 때문입니다!
Pull request
Related issue
#32
Motivation and context
Solution
요청 @PathVariable Long workspaceId, @RequestParam String channelName
응답: 생성된 채널 정보
public class SimpleChannel {
private Long channelId;
private String channelName;
private LocalDateTime createdAt;
}
How has this been tested
Types of changes
Checklist