Skip to content

๐Ÿš€ 2๋‹จ๊ณ„ - ๋ฆฌํŒฉํ„ฐ๋ง(๋ฉ”๋‰ด)#159

Open
lehdqlsl wants to merge 14 commits intonext-step:lehdqlslfrom
lehdqlsl:step2
Open

๐Ÿš€ 2๋‹จ๊ณ„ - ๋ฆฌํŒฉํ„ฐ๋ง(๋ฉ”๋‰ด)#159
lehdqlsl wants to merge 14 commits intonext-step:lehdqlslfrom
lehdqlsl:step2

Conversation

@lehdqlsl
Copy link

๊ฐ•์˜๋ฅผ ๋“ฃ๊ณ ๋‚˜๋‹ˆ step1 ๋ฏธ์…˜์„ ์™„์ „ ์ž˜๋ชปํ–ˆ์—ˆ๋„ค์š”!

์ž˜ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

Copy link

@sah3122 sah3122 left a comment

Choose a reason for hiding this comment

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

์š”๊ตฌ์‚ฌํ•ญ ๊ตฌํ˜„ ์ž˜ํ•ด์ฃผ์…ง์Šต๋‹ˆ๋‹ค ๐Ÿ‘
๋ช‡๊ฐ€์ง€ ๊ณ ๋ฏผ๊ฑฐ๋ฆฌ๋ฅผ ๋‚จ๊ฒจ๋‘์—ˆ๋Š”๋ฐ ํ™•์ธ ๋ถ€ํƒ๋“œ๋ ค์š” !

this.menuProducts = createMenuProducts;
}

private void checkExpensive(Price price, MenuProducts menuProducts) {
Copy link

Choose a reason for hiding this comment

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

MenuProduct์— ์ง€์ •๋œ ๊ฐ€๊ฒฉ์ด ํ˜„์‹œ์ ์— ์‚ฌ์šฉ๊ฐ€๋Šฅํ•œ ๊ฐ€๊ฒฉ์ธ์ง€ ์œ ํšจ์„ฑ ๊ฒ€์‚ฌ๊ฐ€ ํ•„์š”ํ•˜์ง€ ์•Š์„๊นŒ์š” ?

์˜ˆ๋ฅผ ๋“ ๋‹ค๋ฉด ํ˜„์‹œ์ ์— MenuProduct๋Š” Request ๋ฐ์ดํ„ฐ์— ๋Œ€ํ•œ ์œ ํšจ์„ฑ ๊ฒ€์‚ฌ๊ฐ€ ์กด์žฌํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
Product์˜ ๊ฐ€๊ฒฉ์ด ๋ณ€๊ฒฝ๋˜์—ˆ์„ ๊ฒฝ์šฐ ์ „๋‹ฌ๋ฐ›๋Š” ๊ฐ’์„ ๊ทธ๋Œ€๋กœ ์‚ฌ์šฉํ•˜๊ธฐ์—” ๋ฌด๋ฆฌ๊ฐ€ ์žˆ์„๊ฒƒ ๊ฐ™์•„์š”.
์ด๋Ÿฌํ•œ ์ •ํ•ฉ์„ฑ์„ ๋ณด์žฅํ•˜๊ธฐ ์œ„ํ•ด์„œ ์–ด๋–ค ๋…ธ๋ ฅ์ด ํ•„์š”ํ• ์ง€ ๊ณ ๋ฏผํ•ด๋ณด์„ธ์š” ๐Ÿ˜„

this.displayed = false;
}

public void display() {
Copy link

Choose a reason for hiding this comment

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

๋งˆ์ฐฌ๊ฐ€์ง€๋กœ display ์‹œ์ ์— Product์˜ ๊ฐ€๊ฒฉ์ด ๋ณ€๊ฒฝ๋˜์—ˆ์„ ๊ฒฝ์šฐ ๋ฐ์ดํ„ฐ์˜ ์ •ํ•ฉ์„ฑ์„ ๋ณด์žฅํ•˜์ง€ ๋ชปํ•˜๋Š” ๊ตฌ์กฐ์ž…๋‹ˆ๋‹ค.
domain service๋˜๋Š” api client ๋ฅผ ํ†ตํ•ด ์ •ํ•ฉ์„ฑ์„ ๋ณด์žฅํ•ด๋ณด๋Š”๊ฑด ์–ด๋–จ๊นŒ์š” ?

}
}

class MenuProducts {
Copy link

Choose a reason for hiding this comment

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

์ผ๊ธ‰ ์ปฌ๋ ‰์…˜์€ ํŒŒ์ผ์„ ๋ถ„๋ฆฌํ•ด๋ณด๋Š”๊ฒƒ์ด ์–ด๋–จ๊นŒ์š” ?

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.

2 participants