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

3차 세미나 #6

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

3차 세미나 #6

wants to merge 7 commits into from

Conversation

Ho-Tea
Copy link
Collaborator

@Ho-Tea Ho-Tea commented Nov 4, 2024

⭐️ Issue Number

🚩 Summary

  • 사용자 식별 후 일기 작성 기능
  • 사용자 식별 후 일기 수정 기능
  • 사용자 식별 후 일기 제거 기능

@Ho-Tea Ho-Tea added the enhancement New feature or request label Nov 4, 2024
@Ho-Tea Ho-Tea self-assigned this Nov 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SignupRequest랑은 다르게 이곳에는 @NotNull(message = "이름을 입력해주세요.") 처리를 안해주신 이유가 있을까용?

import org.sopt.diary.member.domain.Member;

public record SignupRequest(
@NotNull(message = "이름을 입력해주세요.")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NotBlank가 아니라 @NotNull로 설정하신 이유가 뭔가요?!
저는 이름에 공백도 안된다고 생각해서 @NotBlank로 처리했는데, @NotNull로 처리하면 뭐가 더 좋은 건가용

Comment on lines +29 to +32
public Member(String username, String password, String nickname, Integer age) {
this(null, username, password, nickname, age);
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이건 어디에 쓰는 거에요?! 왜 앞에 null로 하신 건가용

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3차 세미나
2 participants