부산대 BE_원윤서 2주차 과제(Step1)#194
Open
yoonsu0325 wants to merge 15 commits intokakao-tech-campus-2nd-step2:mainfrom
Open
부산대 BE_원윤서 2주차 과제(Step1)#194yoonsu0325 wants to merge 15 commits intokakao-tech-campus-2nd-step2:mainfrom
yoonsu0325 wants to merge 15 commits intokakao-tech-campus-2nd-step2:mainfrom
Conversation
validation 의존성 추가
record에서 class로 수정
ProductDTO의 필드에 조건과 오류메시지 추가
product -> newProduct로 수정
상품 추가 API에 검증 기능 추가
상품 수정 API에 검증 기능 추가
Product를 record에서 class로 바꾸면서 생긴 오류 수정
상품 추가, 수정 뷰를 나눔 잘못된 필드 값이 입력된 경우 오류 메시지 출력
상품 추가 뷰와 수정 뷰를 분리 상품을 수정할 때 잘못된 필드 값이 들어온 경우 오류 메시지 출력
구현할 기능 목록
Product 객체를 파라미터로 받는 생성자 & AssertTrue로 "카카오" 단어 포함 체크
"카카오" 단어 포함 검증하는 파트 삭제, 상품 수정 뷰에 ProductDTO를 attribute로 전달
AssertTrue를 통과하지 못한 경우 에러메시지 출력
AssertTrue를 통과하지 못한 경우 에러메시지 출력
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
피드백 반영했습니다!