CQRSDesigner
CQRSDesigner copied to clipboard
Code generation: incorrect files included in projects
Because some code generated projects are dependent on others - for example [IdentityGroup] depends on the event definitions in [EventSourcing] some duplicate class definitions occur if files are included in both projects.
- Exclude aggregate interface from QueryHandler and CommandHandler
- Exclude identifier group interfaces from QueryDefinition
This is in ModelCodeGenerator.vb Private Sub AddSourceFileToProjects(filenameBase As String, sourceFileType As ModelSourceFileType)