-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feat/crud #2
base: main
Are you sure you want to change the base?
Feat/crud #2
Conversation
user: User; | ||
|
||
@ApiProperty({ description: '작성 유저 고유 번호' }) | ||
@IsNumber() |
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.
Entity에는 검증 로직, swagger decorator를 붙이지 않는게 조아보여
);*/ | ||
|
||
const user = await this.userRepository.findOneOrFail({ | ||
// 여기서 email에 undefined가 들어가면 테이블의 첫 번째 값을 출력하는데 왜인지 모르겠음.. 일단 유효성 검사로 일어나지 않게 함. |
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.
typeorm/typeorm#2500
이런게 잇는 듯
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.
머야 결국 안고쳐진건가 ㅋㅋ
No description provided.