-
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
프로젝트 게시글 저장 api 구현 #59
Conversation
📝 Jacoco Test Coverage
|
# Conflicts: # src/main/java/sixgaezzang/sidepeek/projects/dto/response/MemberSummary.java # src/main/java/sixgaezzang/sidepeek/projects/service/ProjectService.java
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.
프로젝트 저장이 저희의 메인 기능이라 정말 복잡하네요ㅠㅠ 넘넘 고생하셨습니다🥹🥹
기술스택, 프로젝트 멤버 저장까지.. 짱이에요..👍🏻👍🏻
아마 이것저것 생각할 부분이 많아서 요청/응답 DTO와 도메인에 유효성 검사 로직을 아직 작성하지 않으신 것 같은데..! 천천히 추가해 주시면 감사할 것 같습니다🥰
(헉 죄송해요..! 유효성 검사는 다음 PR에 올리신다는 글을 리뷰 다하고 봤네요..!!!! 전 똥멍청이 입니다😇😭 해당부분 리뷰는 무시해주세융..)
src/main/java/sixgaezzang/sidepeek/projects/domain/Project.java
Outdated
Show resolved
Hide resolved
String name, | ||
String subName, | ||
String overview, | ||
String thumbnailUrl, | ||
String githubUrl, | ||
String deployUrl, | ||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
LocalDateTime startDate, | ||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
LocalDateTime endDate, | ||
Long ownerId, | ||
String description, | ||
String troubleShooting, | ||
|
||
List<String> overviewImageUrls, | ||
List<ProjectSkillSaveRequest> techStacks, | ||
List<MemberSaveRequest> members |
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.
Spring Validation 추가해도 좋을 것 같습니당!
✔️ 필수값: 제목, 개요, 기술 스택, 깃허브 링크, 썸네일
✔️ 길이제한: 제목, 소제목 개요
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.
ㅠㅠㅠㅠ감사합니다!! 다음 피알에 반영하겠습니당!♥♥
src/main/java/sixgaezzang/sidepeek/projects/dto/response/MemberSummary.java
Show resolved
Hide resolved
src/main/java/sixgaezzang/sidepeek/projects/domain/file/FileType.java
Outdated
Show resolved
Hide resolved
src/main/java/sixgaezzang/sidepeek/projects/domain/member/Member.java
Outdated
Show resolved
Hide resolved
String role, String nickname) { | ||
this.user = user; | ||
this.userId = userId; | ||
this.project = project; | ||
this.authority = authority; | ||
this.projectId = projectId; | ||
this.role = role; | ||
this.nickname = nickname; |
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.
userId
또는 user
가 null이면 비회원 멤버이기 때문에 nickname이 필수인데, 유효성 검사 로직을 나중에 추가해 주셔도 될 것 같아용! (+ project, role도 필수값이라 나중에 null인지 확인하는 유효성 검사가 있으면 좋을 것 같습니당!)
src/main/java/sixgaezzang/sidepeek/projects/domain/file/File.java
Outdated
Show resolved
Hide resolved
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.
역시 메인 도메인이기에 코드 양이 상당하네요..!
혹시 conflict 관련해서 도움이 필요하다면 언제든 삐삐쳐주세요! 🤙
정말 고생 많으셨습니다 ❤️🔥
src/main/java/sixgaezzang/sidepeek/projects/controller/ProjectController.java
Show resolved
Hide resolved
src/main/java/sixgaezzang/sidepeek/projects/domain/file/File.java
Outdated
Show resolved
Hide resolved
src/main/java/sixgaezzang/sidepeek/projects/domain/member/Member.java
Outdated
Show resolved
Hide resolved
📝 Jacoco Test Coverage
|
📝 Jacoco Test Coverage
|
📝 Jacoco Test Coverage
|
📝 Jacoco Test Coverage
|
🎫 관련 이슈
Resolves #31
✅ 구현 내용
💬 코멘트