아틴
Atin
아틴
전체 방문자
오늘
어제
  • 분류 전체보기 (460)
    • Devlopment (246)
      • 정리 글 (20)
      • MicroServices (0)
      • Reactive, Concurrenc.. (12)
      • Java (44)
      • Spring (20)
      • C,C++,Ruby,Python (52)
      • Mobile (39)
      • Web (35)
      • Tip & Info (14)
      • Unit Test (7)
    • Infra (44)
      • OS (21)
      • RDBMS (13)
      • NoSQL&Cache (5)
      • AWS (4)
    • Computer Science (11)
    • Etc (156)

블로그 메뉴

  • Home
  • Guestbook

공지사항

인기 글

태그

  • 정읍
  • 여행
  • Android
  • TRPG
  • javascript
  • 자바
  • 전라도
  • Dungeons & Dragons
  • Linux
  • 던젼 앤 드래곤즈
  • 해킨토시
  • Python
  • Ruby on Rails
  • 안드로이드
  • CSS
  • mysql
  • jsp
  • C
  • Java
  • 아이폰

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
아틴

Atin

카테고리 없음

MapStruct 가이드

2019. 7. 19. 12:57
반응형

최근에 MapStruct라는 것에 대해 알게 되었는데 이거 상당히 좋다.
국내에는 관련 글이 거의 없지만 해외쪽에 관련들 글들이 많아서 보고 있다.

다 좋은데 하나 아쉬운 점은 기본 생성자와 빌더를 통해서만 처리를 한다는 점이 아쉽다.

 

Reference
[1] 맛보기  https://stylishc.tistory.com/138
[2] Guide https://mapstruct.org/documentation/dev/reference/html/ 
[3] https://mapstruct.org/
[4] Example 1 https://www.credera.com/blog/technology-solutions/mapping-domain-data-transfer-objects-in-spring-boot-with-mapstruct/
[5] Example 2 https://github.com/mapstruct/mapstruct-examples
[6] Example 3 https://github.com/arberg/mapstruct-test
[7] Immutable 미지원 관련 https://github.com/mapstruct/mapstruct/issues/1755

 

MapStruct – Java bean mappings, the easy way!

Java bean mappings, the easy way! Get started Download

mapstruct.org

 

MapStruct 1.3.0.Final Reference Guide

The mapping of collection types (List, Set etc.) is done in the same way as mapping bean types, i.e. by defining mapping methods with the required source and target types in a mapper interface. MapStruct supports a wide range of iterable types from the Jav

mapstruct.org

 

MapStruct 맛보기

mapStruct mapStruct Summary & Why? 타입 세이프하게 bean 매핑을 도와주는 어노테&#..

stylishc.tistory.com

 

 

 

반응형
저작자표시 비영리 변경금지 (새창열림)
    아틴
    아틴

    티스토리툴바