Project

General

Profile

Actions

Task #956

closed

Remove typeMap from toDto

Added by Ondřej Kopr almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Dto mapping
Target version:
Start date:
02/08/2018
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Remove typeMap behavior from toDto method int these services:
  • DefaultIdmIdentityRoleService,
  • DefaultIdmConceptRoleRequestService,
  • DefaultSysSyncLogService.

Add this behavior to ModelMapperConfig, for acc will be necessary create new mapper config class.

Actions #1

Updated by Ondřej Kopr almost 7 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Ondřej Kopr to Radek Tomiška
  • % Done changed from 0 to 90

I remove type map definition from toDto methods, for acc I created new model mapper config. This config is dependents on initialization model mapper from core module.

In this ticket I also updated er diagram with automatic roles.

Please Radek could you made a review and check problem with map embedded?

commit: https://github.com/bcvsolutions/CzechIdMng/commit/ecbf5d7c907af08cccbd200aea1272570e60be78 (develop)

Actions #2

Updated by Radek Tomiška almost 7 years ago

  • Status changed from Needs feedback to Closed
  • Assignee changed from Radek Tomiška to Ondřej Kopr
  • % Done changed from 90 to 100

Thx for this change, it works.

Note: I just added calling method from super class (dry).

Actions

Also available in: Atom PDF