Conversation
Summary of ChangesHello, 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은 게시물 제목의 최대 길이를 늘려 사용자가 더 길고 설명적인 제목을 사용할 수 있도록 합니다. 이는 콘텐츠 생성에 더 큰 유연성을 제공하고, 제목이 너무 짧아 표현이 제한되는 문제를 해결합니다. 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
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.
Code Review
포스트 제목의 최대 길이를 15자에서 40자로 늘리는 변경 사항을 확인했습니다. DTO의 유효성 검사 어노테이션은 잘 수정되었습니다. 다만, 이 변경 사항과 관련된 API 문서도 업데이트가 필요합니다. src/test/java/com/daramg/server/post/presentation/PostControllerTest.java 파일에서 restdocs를 통해 생성되는 API 문서의 title 필드 설명이 여러 곳에서 여전히 '15자 이내'로 되어 있습니다. 이 부분을 '40자 이내'로 수정하여 API 문서와 실제 유효성 검사 규칙이 일치하도록 해야 합니다.
|
|
||
| sealed class PostUpdateDto ( | ||
| @get:Size(max=15, message = "제목은 15자를 초과할 수 없습니다") | ||
| @get:Size(max=40, message = "제목은 40자를 초과할 수 없습니다") |
Summary
PostCreateDto,PostUpdateDto의 title@Size(max)제한을 15 → 40으로 변경