-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* feat: Festival posterImageUrl null 혹은 공백 문자열 시 빈 문자열 설정 * feat: ArtistV1CreateRequest, ArtistV1UpdateRequest 이미지 URL nullable 하도록 변경 * feat: Artist profileImage, backgroundImageUrl null 혹은 공백 문자열 시 빈 문자열 설정 * refactor: maxLength 검증 null 검사 삭제 - maxLength 검증 시 null 무시 * feat: Member profileImageUrl null 혹은 공백 문자열 시 빈 문자열 설정 * feat: School logoUrl, backgroundImageUrl null 혹은 공백 문자열 시 빈 문자열 설정 * feat: SocialMedia logoUrl null 혹은 공백 문자열 시 빈 문자열 설정 및 검증 추가
- Loading branch information
1 parent
6faa3a9
commit 7362efa
Showing
14 changed files
with
83 additions
and
64 deletions.
There are no files selected for viewing
5 changes: 3 additions & 2 deletions
5
backend/src/main/java/com/festago/admin/dto/artist/ArtistV1CreateRequest.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
5 changes: 3 additions & 2 deletions
5
backend/src/main/java/com/festago/admin/dto/artist/ArtistV1UpdateRequest.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
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
3 changes: 2 additions & 1 deletion
3
backend/src/main/java/com/festago/admin/dto/socialmedia/SocialMediaUpdateV1Request.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
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
17 changes: 17 additions & 0 deletions
17
backend/src/main/java/com/festago/common/util/ImageUrlHelper.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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.festago.common.util; | ||
|
||
import org.springframework.util.StringUtils; | ||
|
||
public class ImageUrlHelper { | ||
|
||
private ImageUrlHelper() { | ||
|
||
} | ||
|
||
public static String getBlankStringIfBlank(String input) { | ||
if (StringUtils.hasText(input)) { | ||
return input; | ||
} | ||
return ""; | ||
} | ||
} |
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
Oops, something went wrong.