Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow fluent to accept an Dto object when assembling #106

Open
Sherpard opened this issue Jun 10, 2019 · 0 comments
Open

Allow fluent to accept an Dto object when assembling #106

Sherpard opened this issue Jun 10, 2019 · 0 comments
Assignees

Comments

@Sherpard
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants