Skip to content

Conversation

@HI-JIN2
Copy link
Member

@HI-JIN2 HI-JIN2 commented Dec 29, 2025

Summary

로그인 v2 api 작업

Describe your changes

  • DeviceType을 추가한 login v2 api로 교체
  • 로그인 api에 대한 각 data/domain/presentation 레이어 위반사항을 리팩토링
    구체적으로는 dto class가 domain과 presentation에서 쓰이는 것을 제거했습니다.
    (타 api 관련 리팩토링은 별도의 pr로 분리하겠습니다)
image

Issue

To Reviewer

로그인 api에 대한 각 data/domain/presentation 레이어 위반사항을 리팩토링
구체적으로는 dto class가 domain과 presentation에서 쓰이는 것을 제거했습니다.

이 부분에 대해 코멘트 해주시면 감사하겠습니다!

@HI-JIN2 HI-JIN2 self-assigned this Dec 29, 2025
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @HI-JIN2, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 로그인 기능을 v2 API로 업데이트하고, DeviceType 정보를 추가하여 로그인 요청을 처리하도록 변경합니다. 또한, 기존 로그인 API 관련 코드에서 data, domain, presentation 레이어 간의 의존성 문제를 해결하기 위해 DTO 클래스가 domain 및 presentation 레이어에서 직접 사용되지 않도록 리팩토링하여 아키텍처의 견고성을 높였습니다.

Highlights

  • 로그인 v2 API 도입: 로그인 API가 DeviceType을 포함하는 v2 버전으로 업데이트되었습니다.
  • 아키텍처 리팩토링: 로그인 API 관련 data/domain/presentation 레이어의 아키텍처를 리팩토링하여 DTO 클래스가 domain 및 presentation 레이어에서 사용되는 것을 제거했습니다.
  • DeviceType 추가: 새로운 DeviceType enum 클래스가 추가되어 iOS와 Android 장치 유형을 구분합니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

이번 PR은 로그인 API를 v2로 업데이트하고 DeviceType을 추가하는 작업을 포함하고 있습니다. 동시에 데이터, 도메인, 프리젠테이션 레이어 간의 의존성 문제를 해결하기 위해 DTO가 도메인 및 프리젠테이션 레이어에서 사용되는 부분을 리팩토링한 점이 인상적입니다. 전반적으로 클린 아키텍처 원칙을 잘 따르려는 좋은 시도이며, 코드 변경 사항은 명확하고 목적에 부합합니다. 몇 가지 사소한 스타일 관련 제안 사항을 리뷰 코멘트로 남겼습니다.

HI-JIN2 and others added 3 commits December 29, 2025 15:11
…oginWithKakaoRequest.kt

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…UseCase.kt

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Copy link
Member

@PeraSite PeraSite left a comment

Choose a reason for hiding this comment

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

LoginWithKakaoRequest처럼 dto 클래스를 도메인 내부에서 생성해서 넘겨주는 흐름이 이제 보니 되게 많네요!
코드베이스의 다른 부분에서도 점진적으로 개선해야겠네용!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

로그인 api v2로 교체

3 participants