CQRSDesigner icon indicating copy to clipboard operation
CQRSDesigner copied to clipboard

Code generation: incorrect files included in projects

Open MerrionComputing opened this issue 7 years ago • 2 comments

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.

MerrionComputing avatar Nov 05 '18 19:11 MerrionComputing

  1. Exclude aggregate interface from QueryHandler and CommandHandler
  2. Exclude identifier group interfaces from QueryDefinition

MerrionComputing avatar Nov 05 '18 20:11 MerrionComputing

This is in ModelCodeGenerator.vb Private Sub AddSourceFileToProjects(filenameBase As String, sourceFileType As ModelSourceFileType)

MerrionComputing avatar Nov 11 '18 11:11 MerrionComputing