Skip to content

Allow fluent to accept an Dto object when assembling #106

@Sherpard

Description

@Sherpard

Right now, FluentAssembler takes care of creating a new instance of the target Dto.

There are cases that it may be handy to have some control over which object the assembling is taking place.

ATM. what comes into my mind is some kind of extended assembling.

As an example:
Aggregates: Car
Dto:s CarDto, LuxuryCar extends Car.
Assemblers: Car -> CarDto, Car,LuxuryCar

On the implementation of LuxuryCar it would be great to be able to use method previously defined at Car->CarDto assembler

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions