Skip to content
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

[BE] refactor: request DTO Validation 추가(#462) #463

Merged
merged 13 commits into from
Oct 6, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'origin/dev' into feat/#462
# Conflicts:
#	backend/src/main/java/com/festago/auth/dto/LoginRequest.java
#	backend/src/main/java/com/festago/festival/dto/FestivalCreateRequest.java
seokjin8678 committed Sep 30, 2023
commit 0af8e7a186f247115f4ba9ec64d614cad77624d4
3 changes: 2 additions & 1 deletion backend/src/main/java/com/festago/auth/dto/LoginRequest.java
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@

public record LoginRequest(
@NotNull(message = "socialType 은 null 일 수 없습니다.") SocialType socialType,
@NotBlank(message = "acessToken 은 공백일 수 없습니다.") String accessToken) {
@NotBlank(message = "acessToken 은 공백일 수 없습니다.") String accessToken,
@NotNull(message = "fcmToken 은 null 일 수 없습니다.") String fcmToken) {

}
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@

import com.festago.festival.domain.Festival;
import jakarta.validation.constraints.NotBlank;
import com.festago.school.domain.School;
import jakarta.validation.constraints.NotNull;
import java.time.LocalDate;
import org.springframework.format.annotation.DateTimeFormat;
You are viewing a condensed version of this merge commit. You can view the full changes here.