Skip to content
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

[FEAT] CG-01 #9 #18

Open
wants to merge 62 commits into
base: main
Choose a base branch
from
Open

[FEAT] CG-01 #9 #18

wants to merge 62 commits into from

Conversation

Gonhub9
Copy link
Collaborator

@Gonhub9 Gonhub9 commented Jan 27, 2025

๐Ÿ“Part

  • BE

  • FE

  • Infra


โœ”๏ธPR Type

  • ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ์ถ”๊ฐ€

  • ๋ฒ„๊ทธ ์ˆ˜์ •

  • ์ฃผ์š” ์ฝ”๋“œ ๋ฆฌํŽ™ํ† ๋ง (์„ฑ๋Šฅ ์ตœ์ ํ™” ๋“ฑ)

  • ๊ฐ„๋‹จ ์ฝ”๋“œ ๋ฆฌํŽ™ํ† ๋ง (์ฃผ์„, ์ฝ”๋“œ ์ปจ๋ฒค์…˜, ์˜คํƒ€ ์ˆ˜์ • ๋“ฑ)

  • ๊ธฐํƒ€ (๊ธฐํƒ€ ์‚ฌํ•ญ ๊ธฐ์ž…)


โœ”๏ธPR Checklist

  • ์ปค๋ฐ‹ ๋ฉ”์„ธ์ง€๋ฅผ ์ปจ๋ฒค์…˜์— ๋งž๊ฒŒ ์ž˜ ์ ์šฉ ํ•˜์˜€๋‚˜์š”?

  • ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ž‘์„ฑ / ๋‹จ์œ„ ํ…Œ์ŠคํŠธ or ํ†ตํ•ฉ ํ…Œ์ŠคํŠธ ์ง„ํ–‰ ํ•˜์…จ๋‚˜์š”?


๐Ÿ”Ž ์ž‘์—… ๋‚ด์šฉ

  • ์นดํ…Œ๊ณ ๋ฆฌ DTO ๋งคํ•‘ํ•ด์„œ ์ „์ฒด ์กฐํšŒ ๊ตฌํ˜„ํ•˜์˜€๊ณ ,

  • ํ…Œ์ŠคํŠธ ์ฝ”๋“œ๋„ ์ž‘์„ฑํ•ด์„œ ํ…Œ์ŠคํŠธ ๋˜๋Š”์ง€ ํ™•์ธํ•˜์˜€์Šต๋‹ˆ๋‹ค.


close #9

๐Ÿ“ˆ์ด๋ฏธ์ง€ ์ฒจ๋ถ€

sungyeong98 and others added 30 commits January 24, 2025 16:06
- ์นด์นด์˜ค ๋กœ๊ทธ์ธ ์ธ์ฆ URL ํ…Œ์ŠคํŠธ
- saveOrUpdate๋ฉ”์„œ๋“œ๋ฅผ private์—์„œ protected๋กœ ๋ณ€๊ฒฝ
- ์‹ ๊ทœ ์‚ฌ์šฉ์ž ์ €์žฅ ํ…Œ์ŠคํŠธ
- ํ† ํฐ ์ƒ์„ฑ ์‹œ user_id๊ฐ€ ํฌํ•จ๋˜๋„๋ก ์ถ”๊ฐ€
- ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•ด ์ž‘์„ฑํ–ˆ๋˜ ๋ฉ”์„œ๋“œ๋“ค์„ ์ฃผ์„ ์ฒ˜๋ฆฌํ•จ
@Gonhub9 Gonhub9 requested a review from kdo1999 January 27, 2025 08:20
@Gonhub9
Copy link
Collaborator Author

Gonhub9 commented Jan 27, 2025

๋“ฑ๋ก์€ ๋”ฐ๋กœ CG-02๋กœ ์ด์Šˆ ์ž‘์„ฑํ•ด์„œ ๊ตฌํ˜„ ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค!

@Builder
@Getter
@Table(name = "Category")
@NoArgsConstructor
Copy link
Collaborator

Choose a reason for hiding this comment

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

์ €๋Š” ์™ธ๋ถ€์—์„œ ์‚ฌ์šฉํ•  ์ผ์ด ์—†๋‹ค๋ฉด ์—”ํ‹ฐํ‹ฐ์˜ ๊ธฐ๋ณธ ์ƒ์„ฑ์ž๋Š” private๋กœ ์„ค์ •ํ•ด๋‘๊ธฐ๋Š” ํ•ฉ๋‹ˆ๋‹ค.

@@ -28,6 +26,7 @@ public class Category extends BaseEntity {
private Long id;

@Column(nullable = false)
@Size(max = 25)
Copy link
Collaborator

Choose a reason for hiding this comment

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

์œ ํšจ์„ฑ ๊ฒ€์ฆํ•  ๋•Œ ์“ฐ์ด๋Š”๊ฑฐ๋ผ ์ด๋ถ€๋ถ„ ์ œ๊ฑฐํ•ด์ฃผ์‹œ๊ณ  @column(nullable = false, length = 25) ์ด๋ ‡๊ฒŒ ์„ค์ •ํ•ด์ฃผ์‹œ๋ฉด ๋  ๊ฑฐ ๊ฐ™์Šต๋‹ˆ๋‹ค.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

๋„ต ์•Œ๊ฒ ์Šต๋‹ˆ๋‹ค ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!

Copy link
Collaborator

Choose a reason for hiding this comment

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

์•„๊นŒ ํ™•์ธ์„ ๋ชปํ–ˆ๋˜ ๋ถ€๋ถ„์ธ๋ฐ Response์šฉ ๊ฐ์ฒด๋Š” ๊ฐ์ฒด๋ช…์„ ๋„๋ฉ”์ธ + Response๋กœ ํ†ต์ผ ์‹œ์ผœ์ฃผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

๋„ต ์ˆ˜์ •ํ•ด์„œ ์˜ฌ๋ฆฌ๊ฒ ์Šต๋‹ˆ๋‹ค!

sungyeong98 and others added 25 commits January 27, 2025 17:31
[REFACTOR]: ์—๋Ÿฌ ์ฝ”๋“œ ์ž๋ฃŒํ˜• ๋ณ€๊ฒฝ #21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ์‹ ๊ทœ ๊ธฐ๋Šฅ ๊ตฌํ˜„ / ๊ธฐ๋Šฅ ํ–ฅ์ƒ
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CG-01
3 participants