Skip to content

Conversation

@Nuung
Copy link
Member

@Nuung Nuung commented Jun 18, 2025

πŸ”₯ λ³€κ²½ 사항

  • μΏ ν‚€ clear μ‹œ maxAge λŠ” 미래 버전에 μ‚­μ œλ¨, κ·Έλž˜μ„œ 미리 제거
  • μΆ”κ°€λ‘œ username / email / thumbnail μ—…λ°μ΄νŠΈλ„ λ§ˆμ € λŒ€μ‘ 개발 ν•„μš” (특히 둜그인 λΆ€λΆ„)

🏷 κ΄€λ ¨ 이슈

  • μ—†μŠ΅λ‹ˆλ‹€. PS) @six-standard κΈ°μ€€λ‹˜, 이 λΆ€λΆ„ 계속 랜덀으둜 λ‘μ‹œλ˜λ° λ‹€μŒ PR λΆ€ν„°λŠ” 제거 λΆ€νƒλ“œλ €μš”!

πŸ“Έ μŠ€ν¬λ¦°μƒ· (UI λ³€κ²½ μ‹œ ν•„μˆ˜)

image
image
image

πŸ“Œ 체크리슀트

  • κΈ°λŠ₯이 μ •μƒμ μœΌλ‘œ λ™μž‘ν•˜λŠ”μ§€ ν…ŒμŠ€νŠΈ μ™„λ£Œ => 특히 컨트둀러 계측 졜초 ν…ŒμŠ€νŠΈ μ½”λ“œ μΆ”κ°€
  • μ½”λ“œ μŠ€νƒ€μΌ κ°€μ΄λ“œ μ€€μˆ˜ μ—¬λΆ€ 확인
  • κ΄€λ ¨ λ¬Έμ„œ μ—…λ°μ΄νŠΈ μ™„λ£Œ (ν•„μš” μ‹œ)

Summary by CodeRabbit

  • μ‹ κ·œ ν…ŒμŠ€νŠΈ

    • μ‚¬μš©μž κ΄€λ ¨ μ£Όμš” κΈ°λŠ₯(둜그인, μƒ˜ν”Œ 둜그인, λ‘œκ·Έμ•„μ›ƒ, ν˜„μž¬ μ‚¬μš©μž 쑰회, 토큰 생성 및 쑰회)에 λŒ€ν•œ λ‹¨μœ„ ν…ŒμŠ€νŠΈκ°€ μΆ”κ°€λ˜μ—ˆμŠ΅λ‹ˆλ‹€.
  • κΈ°λŠ₯ κ°œμ„ 

    • μ‚¬μš©μž 정보에 usernameκ³Ό thumbnail(ν”„λ‘œν•„ 이미지) ν•„λ“œκ°€ μΆ”κ°€λ˜μ–΄, 둜그인 및 μ‚¬μš©μž 생성/κ°±μ‹  μ‹œ 더 λ§Žμ€ 정보가 μ €μž₯ 및 λ°˜ν™˜λ©λ‹ˆλ‹€.
    • μΏ ν‚€ μ‚­μ œ μ‹œ ν™˜κ²½μ— 따라 μ˜΅μ…˜μ΄ 더 μ •ν™•ν•˜κ²Œ μ μš©λ©λ‹ˆλ‹€.
  • 버그 μˆ˜μ •

    • μ‚¬μš©μž 정보 λ°˜ν™˜ μ‹œ usernameμ΄λ‚˜ thumbnail이 없을 λ•Œ 빈 λ¬Έμžμ—΄λ‘œ λŒ€μ²΄λ˜μ–΄ μΌκ΄€λœ 데이터 제곡이 보μž₯λ©λ‹ˆλ‹€.
@Nuung Nuung self-assigned this Jun 18, 2025
@Nuung Nuung added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request labels Jun 18, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jun 18, 2025

"""

Walkthrough

이 변경사항은 μ‚¬μš©μž μ»¨νŠΈλ‘€λŸ¬μ™€ κ΄€λ ¨ μ„œλΉ„μŠ€, λ ˆν¬μ§€ν† λ¦¬, DTO에 λŒ€ν•΄ usernameκ³Ό thumbnail ν•„λ“œλ₯Ό μΆ”κ°€ 및 ν™•μž₯ν•˜λ©°, μΏ ν‚€ μ˜΅μ…˜ 처리 방식을 κ°œμ„ ν•©λ‹ˆλ‹€. λ˜ν•œ UserController의 μ£Όμš” λ©”μ„œλ“œμ— λŒ€ν•œ 포괄적인 λ‹¨μœ„ ν…ŒμŠ€νŠΈκ°€ μƒˆλ‘­κ²Œ μž‘μ„±λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

Changes

파일/경둜 κ·Έλ£Ή λ³€κ²½ μš”μ•½
src/controllers/test/user.controller.test.ts UserController의 login, sampleLogin, logout, fetchCurrentUser, createToken, getToken λ©”μ„œλ“œμ— λŒ€ν•œ 포괄적 λ‹¨μœ„ ν…ŒμŠ€νŠΈ μΆ”κ°€
src/controllers/user.controller.ts cookieOption λ©”μ„œλ“œκ°€ isClear νŒŒλΌλ―Έν„°λ₯Ό λ°›μ•„ μΏ ν‚€ μ„€μ •/μ‚­μ œ μ˜΅μ…˜ λΆ„κΈ°, res.clearCookie ν˜ΈμΆœλΆ€ μˆ˜μ •, 응닡 데이터에 user의 username/thumbnail μ‚¬μš©
src/repositories/user.repository.ts updateTokens, createUser λ©”μ„œλ“œμ— username, thumbnail νŒŒλΌλ―Έν„° μΆ”κ°€ 및 SQL 쿼리 ν™•μž₯
src/services/user.service.ts handleUserTokensByVelogUUID, createUser, updateUserTokensμ—μ„œ username, thumbnail 처리 및 전달 둜직 μΆ”κ°€
src/types/dto/userWithToken.type.ts UserWithTokenDto에 username(ν•„μˆ˜), thumbnail(μ˜΅μ…˜) ν•„λ“œ μΆ”κ°€ 및 μƒμ„±μž/λ°μ½”λ ˆμ΄ν„° 반영
.github/workflows/test-ci.yaml ν…ŒμŠ€νŠΈ CI ν™˜κ²½λ³€μˆ˜μ— AES_KEY_0~AES_KEY_9 μΆ”κ°€

Sequence Diagram(s)

sequenceDiagram participant Client participant UserController participant UserService participant UserRepository participant VelogAPI Client->>UserController: login μš”μ²­ (access/refresh token) UserController->>VelogAPI: μ‚¬μš©μž 정보 μš”μ²­ VelogAPI-->>UserController: μ‚¬μš©μž 정보 (username, thumbnail λ“±) UserController->>UserService: handleUserTokensByVelogUUID(userData, tokens) UserService->>UserRepository: createUser/updateTokens(uuid, email, username, thumbnail, tokens) UserRepository-->>UserService: User 객체 λ°˜ν™˜ UserService-->>UserController: User 객체 λ°˜ν™˜ UserController-->>Client: μΏ ν‚€ μ„€μ • 및 μ‚¬μš©μž 정보 응닡 
Loading

Possibly related PRs

  • #17: sampleLogin λ©”μ„œλ“œ λ„μž… 및 κ΄€λ ¨ μ„œλΉ„μŠ€/λ ˆν¬μ§€ν† λ¦¬ λ³€κ²½, λ³Έ PR ν…ŒμŠ€νŠΈ μ½”λ“œμ™€ 직접적 μ—°κ΄€.
  • #32: UserController의 cookieOption λ©”μ„œλ“œ κ΄€λ ¨ λ³€κ²½, μΏ ν‚€ μ˜΅μ…˜ 처리 방식 κ°œμ„ κ³Ό κ΄€λ ¨.
  • #18: UserRepository의 createUser λ©”μ„œλ“œμ—μ„œ email νŒŒλΌλ―Έν„° νƒ€μž… λ³€κ²½ κ΄€λ ¨, 동일 λ©”μ„œλ“œ μˆ˜μ •κ³Ό μ—°κ΄€.

Suggested reviewers

  • six-standard
  • ooheunda
  • Jihyun3478

Poem

🐰
μƒˆλ‘œμš΄ username, 썸넀일도 μΆ”κ°€ν•΄
μΏ ν‚€ μ˜΅μ…˜λ„ λ˜‘λ˜‘ν•˜κ²Œ λ°”κΏ¨μ–΄μš”
ν…ŒμŠ€νŠΈλ„ λΉ΅λΉ΅ν•˜κ²Œ 달아
μ‚¬μš©μž 정보, 더 ν’μ„±ν•˜κ²Œ
토큰도 μ•ˆμ „ν•˜κ²Œ
μ˜€λŠ˜λ„ 깑총! μ½”λ“œλ₯Ό μ§€μΌœμš”
β€” μ½”λ“œλž˜λΉ— λ“œλ¦Ό πŸ₯•
"""


πŸ“œ Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

πŸ“₯ Commits

Reviewing files that changed from the base of the PR and between b27e4d8 and bc956e0.

πŸ“’ Files selected for processing (2)
  • .github/workflows/test-ci.yaml (1 hunks)
  • src/controllers/__test__/user.controller.test.ts (1 hunks)
βœ… Files skipped from review due to trivial changes (1)
  • .github/workflows/test-ci.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/controllers/test/user.controller.test.ts
⏰ Context from checks skipped due to timeout of 90000ms (4)
  • GitHub Check: build-and-test (22)
  • GitHub Check: build-and-test (20)
  • GitHub Check: build-and-test (23)
  • GitHub Check: build-and-test (21)
✨ Finishing Touches
  • πŸ“ Generate Docstrings
πŸ§ͺ Generate Unit Tests
  • Create PR with Unit Tests
  • Post Copyable Unit Tests in Comment
  • Commit Unit Tests in branch feature/cookie-and-usermodel-update

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❀️ Share
πŸͺ§ Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai auto-generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

πŸ”­ Outside diff range comments (1)
src/services/user.service.ts (1)

65-73: μ‹ κ·œ μœ μ € 생성 μ‹œ 평문 토큰이 DB에 μž μ‹œ μ €μž₯됨

  1. createUser β†’ 평문 토큰 μ €μž₯
  2. κ³§λ°”λ‘œ updateUserTokens 둜 μ•”ν˜Έν™” 토큰 μž¬μ €μž₯

두 번의 DB λΌμš΄λ“œνŠΈλ¦½κ³Ό 평문 μ €μž₯ λ…ΈμΆœμ΄ λ°œμƒν•©λ‹ˆλ‹€.

μ•”ν˜Έν™” ν›„ ν•œ 번의 INSERT 둜 μ²˜λ¦¬ν•˜λ©΄ λ³΄μ•ˆΒ·μ„±λŠ₯ μ–‘μͺ½μ—μ„œ μ΄λ“μž…λ‹ˆλ‹€. ν•„μš”ν•˜λ‹€λ©΄ encryptTokens ν˜ΈμΆœμ„ 뢄리해 createUser 이전에 μˆ˜ν–‰ν•˜λŠ” ꡬ쑰둜 λ¦¬νŒ©ν„°λ§μ„ μ œμ•ˆλ“œλ¦½λ‹ˆλ‹€.

🧹 Nitpick comments (6)
src/types/dto/userWithToken.type.ts (1)

16-18: thumbnail ν•„λ“œμ— λ¬Έμžμ—΄ 검증이 λˆ„λ½λ¨

thumbnail μ—­μ‹œ λ¬Έμžμ—΄ μž…λ ₯이 μ˜ˆμƒλ©λ‹ˆλ‹€. @IsString() λ°μ½”λ ˆμ΄ν„°λ₯Ό μΆ”κ°€ν•΄ μΌκ΄€λœ 검증을 μœ μ§€ν•΄ μ£Όμ„Έμš”.

 @IsOptional() + @IsString() thumbnail: string | null = null;
src/controllers/user.controller.ts (1)

24-37: clearCookie μ‹œ 만료 κ°’ μ„€μ • κ³ λ €

일뢀 λΈŒλΌμš°μ €λŠ” maxAge κ°€ 없더라도 μΏ ν‚€λ₯Ό μ™„μ „νžˆ μ œκ±°ν•˜μ§€ μ•Šμ„ 수 μžˆμŠ΅λ‹ˆλ‹€.
isClear 일 λ•Œ expires: new Date(0) λ₯Ό μΆ”κ°€ν•˜λ©΄ ν˜Έν™˜μ„±μ΄ ν–₯μƒλ©λ‹ˆλ‹€.

src/services/user.service.ts (1)

59-61: thumbnail 널 병합 λ’€ μ„Έλ―Έμ½œλ‘  λˆ„λ½

μ½”λ“œμƒ λ¬Έμ œλŠ” μ—†μ§€λ§Œ ESLint κ·œμΉ™(semicolons)을 μ‚¬μš©ν•œλ‹€λ©΄ κ²½κ³ κ°€ λ°œμƒν•  수 μžˆμŠ΅λ‹ˆλ‹€. ν•œ 쀄 주석 λ’€ μ„Έλ―Έμ½œλ‘ μ„ μΆ”κ°€ν•΄ λ‘λŠ” 편이 κΉ”λ”ν•©λ‹ˆλ‹€.

src/repositories/user.repository.ts (1)

45-54: SET μ ˆμ— 컬럼이 μΆ”κ°€λœ 만큼 DB 인덱슀 κ²€ν† 

email, username 으둜 μ‘°νšŒν•˜λŠ” κΈ°λŠ₯이 이미 μžˆκ±°λ‚˜ ν–₯ν›„ 생길 경우 볡합 인덱슀λ₯Ό κ³ λ €ν•΄ μ£Όμ„Έμš”.
μ§€κΈˆ λ‹¨κ³„μ—μ„œ μ½”λ“œ 였λ₯˜λŠ” μ—†μœΌλ―€λ‘œ 참고만 ν•˜μ‹œλ©΄ λ©λ‹ˆλ‹€.

src/controllers/__test__/user.controller.test.ts (2)

11-14: μžλ™ λͺ¨ν‚Ήλœ 클래슀 μΈμŠ€ν„΄μŠ€ μ‚¬μš© 주의

jest.mock('@/services/user.service') 둜 μžλ™ λͺ¨ν‚Ήν•˜λ©΄ μƒμ„±μžΒ·λ©”μ„œλ“œκ°€ μžλ™μœΌλ‘œ jest.fn() 으둜 λŒ€μ²΄λ©λ‹ˆλ‹€. ν˜„μž¬μ²˜λŸΌ μ‹€μ œ μΈμŠ€ν„΄μŠ€λ₯Ό new둜 λ§Œλ“€λ©΄ νƒ€μž…μ€ λ§žμ§€λ§Œ λ‚΄λΆ€ κ΅¬ν˜„μ΄ μ—†μœΌλ―€λ‘œ 예기치 μ•Šμ€ 호좜 λˆ„λ½μ΄ λ°œμƒν•  수 μžˆμŠ΅λ‹ˆλ‹€.

λͺ…μ‹œμ  νŒ©ν† λ¦¬λ‘œ ν•„μš”ν•œ λ©”μ„œλ“œλ§Œ mock κ΅¬ν˜„μ„ λ¦¬ν„΄ν•˜κ±°λ‚˜, jest.mocked(UserService.prototype) 을 μ‚¬μš©ν•΄ spyOn λ°©μ‹μœΌλ‘œ λΆ€λΆ„ λͺ¨ν‚Ήν•˜λŠ” ꡬ쑰λ₯Ό κ³ λ €ν•΄ μ£Όμ„Έμš”.


56-63: ν™˜κ²½ λ³€μˆ˜ 볡원 λˆ„λ½

ν…ŒμŠ€νŠΈλ§ˆλ‹€ process.env.NODE_ENV 값을 λ³€κ²½ν•˜μ§€λ§Œ afterEach μ—μ„œ μ›λž˜ 값을 λ³΅μ›ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.
λ‹€λ₯Έ ν…ŒμŠ€νŠΈ νŒŒμΌμ— 영ν–₯이 갈 수 μžˆμœΌλ‹ˆ 이전 값을 μ €μž₯ν–ˆλ‹€κ°€ 볡ꡬ해 μ£Όμ„Έμš”.

πŸ“œ Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

πŸ“₯ Commits

Reviewing files that changed from the base of the PR and between f139b91 and 6dfe9cc.

πŸ“’ Files selected for processing (5)
  • src/controllers/__test__/user.controller.test.ts (1 hunks)
  • src/controllers/user.controller.ts (5 hunks)
  • src/repositories/user.repository.ts (4 hunks)
  • src/services/user.service.ts (6 hunks)
  • src/types/dto/userWithToken.type.ts (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (4)
  • GitHub Check: build-and-test (20)
  • GitHub Check: build-and-test (23)
  • GitHub Check: build-and-test (22)
  • GitHub Check: build-and-test (21)
πŸ”‡ Additional comments (1)
src/types/dto/userWithToken.type.ts (1)

27-33: μƒμ„±μž μ‹œκ·Έλ‹ˆμ²˜ 변경에 λ”°λ₯Έ ν˜ΈμΆœλΆ€ 확인 ν•„μš”

νŒŒλΌλ―Έν„°κ°€ 두 개 λŠ˜μ–΄λ‚¬μŠ΅λ‹ˆλ‹€. κΈ°μ‘΄ 호좜 μ½”λ“œκ°€ 컴파일-νƒ€μž„ 였λ₯˜ 없이 λΉŒλ“œλ˜λŠ”μ§€, 또 λ¦¬ν”Œλ ‰μ…˜ 기반 생성(예: plainToInstance)에 영ν–₯이 μ—†λŠ”μ§€ μ „μ—­ κ²€μƒ‰μœΌλ‘œ 확인해 μ£Όμ„Έμš”.
ν•„μš”ν•˜λ‹€λ©΄ μ˜€λ²„λ‘œλ“œλ‚˜ default 값을 고렀해도 μ’‹μŠ΅λ‹ˆλ‹€.

@six-standard
Copy link
Member

πŸ”₯ λ³€κ²½ 사항

  • μΏ ν‚€ clear μ‹œ maxAge λŠ” 미래 버전에 μ‚­μ œλ¨, κ·Έλž˜μ„œ 미리 제거
  • μΆ”κ°€λ‘œ username / email / thumbnail μ—…λ°μ΄νŠΈλ„ λ§ˆμ € λŒ€μ‘ 개발 ν•„μš” (특히 둜그인 λΆ€λΆ„)

🏷 κ΄€λ ¨ 이슈

  • μ—†μŠ΅λ‹ˆλ‹€. PS) @six-standard κΈ°μ€€λ‹˜, 이 λΆ€λΆ„ 계속 랜덀으둜 λ‘μ‹œλ˜λ° λ‹€μŒ PR λΆ€ν„°λŠ” 제거 λΆ€νƒλ“œλ €μš”!

πŸ“Έ μŠ€ν¬λ¦°μƒ· (UI λ³€κ²½ μ‹œ ν•„μˆ˜)

image image image

πŸ“Œ 체크리슀트

  • κΈ°λŠ₯이 μ •μƒμ μœΌλ‘œ λ™μž‘ν•˜λŠ”μ§€ ν…ŒμŠ€νŠΈ μ™„λ£Œ => 특히 컨트둀러 계측 졜초 ν…ŒμŠ€νŠΈ μ½”λ“œ μΆ”κ°€
  • μ½”λ“œ μŠ€νƒ€μΌ κ°€μ΄λ“œ μ€€μˆ˜ μ—¬λΆ€ 확인
  • κ΄€λ ¨ λ¬Έμ„œ μ—…λ°μ΄νŠΈ μ™„λ£Œ (ν•„μš” μ‹œ)

Summary by CodeRabbit

  • μ‹ κ·œ ν…ŒμŠ€νŠΈ

    • μ‚¬μš©μž κ΄€λ ¨ μ£Όμš” κΈ°λŠ₯(둜그인, μƒ˜ν”Œ 둜그인, λ‘œκ·Έμ•„μ›ƒ, ν˜„μž¬ μ‚¬μš©μž 쑰회, 토큰 생성 및 쑰회)에 λŒ€ν•œ λ‹¨μœ„ ν…ŒμŠ€νŠΈκ°€ μΆ”κ°€λ˜μ—ˆμŠ΅λ‹ˆλ‹€.
  • κΈ°λŠ₯ κ°œμ„ 

    • μ‚¬μš©μž 정보에 usernameκ³Ό thumbnail(ν”„λ‘œν•„ 이미지) ν•„λ“œκ°€ μΆ”κ°€λ˜μ–΄, 둜그인 및 μ‚¬μš©μž 생성/κ°±μ‹  μ‹œ 더 λ§Žμ€ 정보가 μ €μž₯ 및 λ°˜ν™˜λ©λ‹ˆλ‹€.
    • μΏ ν‚€ μ‚­μ œ μ‹œ ν™˜κ²½μ— 따라 μ˜΅μ…˜μ΄ 더 μ •ν™•ν•˜κ²Œ μ μš©λ©λ‹ˆλ‹€.
  • 버그 μˆ˜μ •

    • μ‚¬μš©μž 정보 λ°˜ν™˜ μ‹œ usernameμ΄λ‚˜ thumbnail이 없을 λ•Œ 빈 λ¬Έμžμ—΄λ‘œ λŒ€μ²΄λ˜μ–΄ μΌκ΄€λœ 데이터 제곡이 보μž₯λ©λ‹ˆλ‹€.

이슈 뢀뢄에 νƒœμŠ€ν¬ IDλ₯Ό 둬야 ν•˜λŠ”κ±΄κ°€ μ‹Άμ–΄μ„œ μŠ΅κ΄€μ μœΌλ‘œ 계속 두고 μžˆμ—ˆλŠ”λ°, λ˜μ§šμ–΄λ³΄λ©΄ λ‹€λ₯Έ λΆ„λ“€μ˜ PRμ—λŠ” 거의 Xμ˜€μœΌλ‹ˆ μžκ°μ„ λͺ» ν•˜κ³  μžˆμ—ˆλ˜ 것 κ°™λ„€μš”;;
λ‹€μŒλΆ€ν„°λŠ” ν•„μš”ν•  λ•Œλ§Œ μ±„μ›Œλ‘κ² μŠ΅λ‹ˆλ‹€. μ£„μ†‘ν•©λ‹ˆλ‹€!

Copy link
Member

@six-standard six-standard left a comment

Choose a reason for hiding this comment

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

μ½”λ“œ 잘 μ½μ—ˆμŠ΅λ‹ˆλ‹€!

μ’‹μ•˜λ˜ 점

  • jsdoc이 μΆ”κ°€λœ 뢀뢄듀이 λͺ‡ λΆ€λΆ„ 있던데, ν™•μ‹€νžˆ 이해에 도움이 λ˜μ—ˆμŠ΅λ‹ˆλ‹€.
  • undefined λ°©μ–΄ λ“± μ„Έμ„Έν•˜κ²Œ 였λ₯˜κ°€ λ°œμƒν•  수 μžˆλŠ” 뢀뢄듀을 κ³ λ €ν•΄ 두신점이 보기 μ’‹μ•˜μŠ΅λ‹ˆλ‹€!
Copy link
Contributor

@Jihyun3478 Jihyun3478 left a comment

Choose a reason for hiding this comment

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

μ½”λ“œ 잘 μ½μ—ˆμŠ΅λ‹ˆλ‹€. κ³ μƒν•˜μ…¨μŠ΅λ‹ˆλ‹€~!!

μ’‹μ•˜λ˜ 점

  • cookieOption(true)둜 maxAge 없이 μ„€μ •ν•œλ‹€λŠ” 점을 λͺ…μ‹œν•΄μ£Όμ‹  뢀뢄이 μ’‹μ•˜μŠ΅λ‹ˆλ‹€!
  • email, username, thumbnail에 λŒ€ν•œ null μ²˜λ¦¬κ°€ λͺ…ν™•νžˆ λ˜μ–΄μžˆμ–΄μ„œ μ’‹μ•˜μŠ΅λ‹ˆλ‹€!
Copy link
Contributor

@ooheunda ooheunda left a comment

Choose a reason for hiding this comment

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

μ½”λ“œ 잘 λ΄€μŠ΅λ‹ˆλ‹€! 고생 λ§ŽμœΌμ…¨μŠ΅λ‹ˆλ‹€~! πŸ‘ πŸ”₯

μ’‹μ•˜λ˜ 점

  • λ‹€λ₯Έ λΆ„λ“€κ»˜μ„œλ„ μ§šμ–΄μ£Όμ…¨λ‹€μ‹œν”Ό μ μ ˆν•œ 주석과 빈 κ°’ μ²˜λ¦¬κ°€ μ’‹μ•˜μŠ΅λ‹ˆλ‹€!
  • 개인적으둜 ν‰μ†Œμ— 잘 μž‘μ„±ν•˜μ§€ μ•Šμ•˜λ˜ 컨트둀러 계측 ν…ŒμŠ€νŠΈ μ½”λ“œλ„ 보게 λ˜μ–΄μ„œ μ’‹μ•˜μŠ΅λ‹ˆλ‹€!! 인증/인가 μž‘μ—…μ—” 컨트둀러 계측도 ν™•μ‹€νžˆ 써 λ‘λŠ”κ²Œ 쒋을 것 κ°™λ„€μš”! λͺ¨ν‚Ή, ν…ŒμŠ€νŠΈ μΌ€μ΄μŠ€λ“€ λ‹€ 꼼꼼히 챙겨주신 뢀뢄도 λ„ˆλ¬΄ μ’‹μ•˜μŠ΅λ‹ˆλ‹€.
@Nuung Nuung merged commit 2009215 into main Jun 19, 2025
9 of 17 checks passed
@Nuung Nuung deleted the feature/cookie-and-usermodel-update branch June 19, 2025 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request

5 participants