-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Problem
For solutions where a server is generated and a custom client is constructed in the same solution there currently is no good way of sharing the generated DTO objects. Current options include copy the files, sharing using VS feature file share.
Possible solution
Change the structure of the generated projects to generate a dedicated DTO project containing only the DTO objects and enumerations. This will enable referencing this project from a custom client living inside the server solution.
It could be controlled by an option but my suggestion will be not to do that as it should not have an effect for existing projects except maybe for a name class on the new project.
Additional context
This will affect the client generation as well. It will make sense to update this project to use the new project as well.