-
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
QYOG-38 소셜 회원가입 fix (1차) #131
Conversation
@@ -0,0 +1,52 @@ | |||
import { MigrationInterface, QueryRunner, TableColumn } from "typeorm" | |||
|
|||
export class UserEmailNullable1706878330599 implements MigrationInterface { |
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.
isUnique 설정도 해주세요
import moment from 'moment'; | ||
import * as crypto from 'crypto'; | ||
|
||
@Injectable() |
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.
별도의 서비스를 만들어서 관리하는거보다는 usersService에 private method로 관리되는게 나들거같아요
) {} | ||
|
||
async create(createUserRequestBodyDto: CreateUserRequestBodyDto) { | ||
async create({ snsId, loginType }: Pick<CreateUserDto, 'snsId' | 'loginType'>) { |
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.
일단 프론트측 테스트때문에 돌아가게만 만들어진거같은데 어떤 작업 추가로 해야하는지 각 메서드들 위에 주석으로 달아주시겠어요
jsdoc의 todo 형태로 다시면 됩니다.
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.
클라리언트 테스트를 위해 우선 어프로브합니다
Description
기존 머지된 소셜 회원가입에서 null 허용이 똑바로 되지 않음
To Reviewer
user_${timestamp}_${randomString}
이렇게되어 약간 김.Reference Link
Related Issue Link
https://dongurami.atlassian.net/browse/QYOG-38
API