Giter Club home page Giter Club logo

Comments (7)

gaeul-kim avatar gaeul-kim commented on August 22, 2024 12
@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.

MorrisHong avatar MorrisHong commented on August 22, 2024

그리고 책에 Posts클래스의 update 메소드가 호출하는 것만 있고 구현코드는 없는 거 같은데.. 맞나요?

from freelec-springboot2-webservice.

MorrisHong avatar MorrisHong commented on August 22, 2024

@hello-sangsik 혹시 책에서 찾으신건가요?

from freelec-springboot2-webservice.

jojoldu avatar jojoldu commented on August 22, 2024

@gracelove91 님 제보 감사합니다 말씀하신대로 코드가 누락되었습니다ㅠ 3쇄에 바로 반영하겠습니다!

from freelec-springboot2-webservice.

gaeul-kim avatar gaeul-kim commented on August 22, 2024

@hello-sangsik 혹시 책에서 찾으신건가요?

저도 찾질 못해서 직접 작성했습니다ㅎㅎ

from freelec-springboot2-webservice.

tommy8808 avatar tommy8808 commented on August 22, 2024

PostsUpdateRequestDto 클래스에
@NoArgsConstructor 어노테이션도 붙여주셔야 될 것 같습니다.

from freelec-springboot2-webservice.

jojoldu avatar jojoldu commented on August 22, 2024

@tommy8808 앗 제보 감사합니다 :)

from freelec-springboot2-webservice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.