Comments (7)
@Getter
public class PostsUpdateRequestDto {
private String title;
private String content;
@Builder
public PostsUpdateRequestDto(String title, String content) {
this.title = title;
this.content = content;
}
}
public void update(String title, String content) {
this.title = title;
this.content = content;
}
from freelec-springboot2-webservice.
그리고 책에 Posts클래스의 update 메소드가 호출하는 것만 있고 구현코드는 없는 거 같은데.. 맞나요?
from freelec-springboot2-webservice.
@hello-sangsik 혹시 책에서 찾으신건가요?
from freelec-springboot2-webservice.
@gracelove91 님 제보 감사합니다 말씀하신대로 코드가 누락되었습니다ㅠ 3쇄에 바로 반영하겠습니다!
from freelec-springboot2-webservice.
@hello-sangsik 혹시 책에서 찾으신건가요?
저도 찾질 못해서 직접 작성했습니다ㅎㅎ
from freelec-springboot2-webservice.
PostsUpdateRequestDto 클래스에
@NoArgsConstructor 어노테이션도 붙여주셔야 될 것 같습니다.
from freelec-springboot2-webservice.
@tommy8808 앗 제보 감사합니다 :)
from freelec-springboot2-webservice.
Related Issues (20)
- 제발 한 번만 도와주세요 ㅠㅠ.. vim nohup.out 에서 못넘어가는 내용입니다. HOT 2
- [오타 제보] p.260
- [오류] p.192 구글 로그인 오류 HOT 1
- [오류] p.145
- [오류] p.190 실행시 UnsatisfiedDependencyException 오류 HOT 1
- [오류] p.316
- [오류] p.214~215
- [오류] p.239
- [오류] p.260 날짜설정..
- [오류] p.118
- [306] p. nohup HOT 1
- [질문] [오류] p.188 직렬화가 가능한 sessionUser 클래스를 사용하는 이유를 잘 모르겠습니다.
- [오류] p.291 conflicting requests
- [오류] p.300 빌드하고 /libs 폴더와 .jars 파일들이 생성되지 않습니다.
- [오류] p.297 Execution failed for task ':test'.
- [오류] p.115 등록된다 assertion test failed
- [오류] p.252 AWS EC2 인스턴스 생성 실패 HOT 1
- [오류] p.214 application.properties를 추가후에도 똑같은 오류가 뜹니다.
- [오류] p.115 HOT 4
- [오류] 303p
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freelec-springboot2-webservice.