-
Notifications
You must be signed in to change notification settings - Fork 0
Feat: PDF 포트폴리오 수정/삭제 API 구현 (#45) #68
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
base: dev
Are you sure you want to change the base?
Conversation
Summary of ChangesHello @IISweetHeartII, 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은 AI가 구조화한 PDF 포트폴리오 블록을 사용자가 직접 수정하고 삭제할 수 있는 기능을 도입합니다. 이는 사용자 경험을 개선하고 데이터 관리의 유연성을 높이는 데 중점을 둡니다. 또한, 코드베이스 전반에 걸쳐 DTO 명명 규칙을 표준화하여 일관성과 유지보수성을 향상시키는 중요한 리팩토링 작업도 포함되어 있습니다. Highlights
🧠 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. Changelog
Ignored Files
Activity
Using Gemini Code AssistThe 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
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 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
|
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.
Code Review
PDF 포트폴리오 수정/삭제 API 구현 및 DTO 네이밍 컨벤션 통일 관련 변경 사항을 검토했습니다. 기능 구현은 올바르게 이루어졌으나, 코드 유지보수성 관점에서 개선할 점이 두 가지 있습니다. 첫째, Facade 계층에 중복된 코드가 존재하여 리팩토링이 필요합니다. 둘째, 여러 파일에 동일한 타입이 중복 선언되어 있어 하나로 통합해야 합니다. 자세한 내용은 아래 코멘트를 확인해주세요.
src/modules/portfolio-correction/application/facades/external-portfolio.facade.ts
Outdated
Show resolved
Hide resolved
src/modules/portfolio/infrastructure/repositories/portfolio.repository.ts
Outdated
Show resolved
Hide resolved
e0c65cf to
aa8dbc0
Compare
hyoinkang
left a comment
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.
Request DTO 관련해서 검증 로직이 빠져있는 것 같은데 확인해주세요!
src/modules/portfolio-correction/application/facades/external-portfolio.facade.ts
Outdated
Show resolved
Hide resolved
src/modules/portfolio/infrastructure/repositories/portfolio.repository.ts
Outdated
Show resolved
Hide resolved
src/modules/portfolio/infrastructure/repositories/portfolio.repository.ts
Outdated
Show resolved
Hide resolved
src/modules/portfolio-correction/application/facades/external-portfolio.facade.ts
Show resolved
Hide resolved
- ExternalPortfolioUpdateValues 타입 제거, UpdatePortfolioBlockReqDTO 활용 - ExternalPortfolioFacade 중복 코드 private 메서드로 추출
375d81a to
409d71c
Compare
- CorrectionItemRepository: throw 로직 제거, 순수 데이터 접근으로 수정 - CorrectionItemService: findCorrectionIdByPortfolioIdOrThrow에 BusinessException 이동 - origin/dev의 findByCorrectionId 메서드 보존
Summary
PDF 포트폴리오의 AI 구조화 결과를 수정/삭제하는 API를 구현했습니다.
Changes
PATCH /external-portfolios/:portfolioId- PDF 포트폴리오 수정DELETE /external-portfolios/:portfolioId- PDF 포트폴리오 삭제Type of Change
Target Environment
Related Issues
Testing
Checklist
Screenshots (Optional)
N/A
Additional Notes