-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: `Request` `DTO` `@Validation` 현 `GlobalExceptionHandler` 에 맞도록 수정 * fix: `Filter` 에서 에러 발생시 `REQUEST UUID` 보이도록 수정 + fix: 로그 파일에 동일한 `SQL` query 2 번 기록되는 현상 해결 * feat: 간단한 시간 측정 `AOP` 추가
- Loading branch information
Showing
14 changed files
with
86 additions
and
49 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
src/main/java/com/palettee/archive/controller/dto/request/ArchiveRegisterRequest.java
This file contains 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
10 changes: 5 additions & 5 deletions
10
src/main/java/com/palettee/archive/controller/dto/request/ArchiveUpdateRequest.java
This file contains 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
4 changes: 2 additions & 2 deletions
4
src/main/java/com/palettee/archive/controller/dto/request/CommentUpdateRequest.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package com.palettee.archive.controller.dto.request; | ||
|
||
import jakarta.validation.constraints.NotBlank; | ||
import org.hibernate.validator.constraints.Length; | ||
import org.hibernate.validator.constraints.*; | ||
|
||
public record CommentUpdateRequest( | ||
|
||
@NotBlank(message = "공백은 입력할 수 없습니다.") | ||
@Length(min = 1, max = 100, message = "최대 100자까지 가능합니다.") | ||
@Length(max = 100, message = "최대 100자까지 가능합니다.") | ||
String content | ||
) { | ||
} |
4 changes: 2 additions & 2 deletions
4
src/main/java/com/palettee/archive/controller/dto/request/CommentWriteRequest.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package com.palettee.archive.controller.dto.request; | ||
|
||
import jakarta.validation.constraints.NotBlank; | ||
import org.hibernate.validator.constraints.Length; | ||
import org.hibernate.validator.constraints.*; | ||
|
||
public record CommentWriteRequest( | ||
|
||
@NotBlank(message = "공백은 입력할 수 없습니다.") | ||
@Length(min = 1, max = 100, message = "최대 100자까지 가능합니다.") | ||
@Length(max = 100, message = "최대 100자까지 가능합니다.") | ||
String content | ||
) { | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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