-
Notifications
You must be signed in to change notification settings - Fork 1
[FEAT] 파일 및 폴더 이름 중복 체크 #176
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
teamId와 foderId가 url에 드러나도록 수정
폴더의 팀 id 검증
중복된 파일 이름이 존재한다면 예외 발생
teamId와 folderId가 url에 드러나도록 수정
중복된 폴더 이름이 존재한다면 예외 발생
대문자 시작 메소드 소문자로 수정
getFolderPath -> getChildFolderPath으로 수정
src/main/java/com/tiki/server/document/controller/DocumentController.java
Show resolved
Hide resolved
src/main/java/com/tiki/server/document/service/DocumentService.java
Outdated
Show resolved
Hide resolved
src/main/java/com/tiki/server/document/service/DocumentService.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.
고생하셨습니다!.
추가적으로 현재 데이터베이스 상에서는 따로 유니크 작업이 안되어 있는걸로 아는데 동시성 이슈로 인해 유니크 제약 조건을 걸어야 할 것 같습니다. 다른 기능들도 마찬가지이고 현재 폴더및 파일 기능에서 또한, Path + 폴더 네임으로 복합 유니크 제약 조건을 걸어놔야 할 것 같습니다!
src/main/java/com/tiki/server/folder/service/FolderService.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.
이따 메서드에 대한 네이밍 정도만 한번 이야기해보는데 네이밍 관련 부분이니까 일단 승인해놓겠습니다!
수고하셨습니다~
✨ Related Issue
📝 기능 구현 명세
🐥 추가적인 언급 사항