-
봉규님 코드를 보면 ModelMapper를 클래스마다 static하게, 혹은 api가 호출될 때마다 생성하고 계십니다.
ModelMapper는 생성할 때 리소스를 많이 잡아먹기 때문에 싱글톤 형태로 하나만 만들어놓고 사용하는 것이 일반적인 것으로 알고 있어요.
-
### Describe the bug
On Saving mocks for a "ModelMapper.map()" and running it in a replay test case, the mock is ignored.
### Reproduction steps
1. Run testcases from `unlogged-spring-maven-d…
-
How can I automatically map models like the ones below?
----
```java
public class RewardClaim {
private PlayerEntity owner; // PlayerEntity extends Entity which has a .getId()
}
```
Maps …
-
**Describe the issue**
Native image run fails with the below error even though reachability metadata is generated.
**Steps to reproduce the issue**
A sample here https://github.com/blackhawkee/na…
-
Consider this class:
```
public class Page {
private URI previous;
private URI next;
private List results;
}
```
Consider this object:
`Page f = ...;`
Now use ModelMappe…
-
https://github.com/modelmapper/modelmapper/blob/master/core/src/main/java/org/modelmapper/internal/util/Types.java
isInternalType throws NullPoint when i use default package
-
-
A third party package modelMapper was used to copy instance of one class to another class, we need to remove it, First remove it from the EcommerceApplication.java file and gradually remove it's use's…
-
Создать раздел в wiki, описать применяемые нами best practices с примерами
Из обсуждения:
> Кейс обработки запроса на обновление сущности:
>
> 1. по path-id достать сущность из БД
> 2. мержим…
-
After adding fields in hot deployment,
How to make modelmapper ignore caching