I realized that previous workaround suggestion doesn't work. Add the
following to src/main/resources/templates/SpecialCases.xpt:
«REM»Workaround for CSC-535«ENDREM»
«AROUND templates::PubSub::publishAnnotation FOR Publish»
«ENDAROUND»
«REM»Workaround for CSC-535«ENDREM»
«AROUND templates::Servi
Thanks for reporting this bug.
The intention was that it should not be necessary to define eventType when
return type or parameter is a DomainEvent.
A workaround until we fix the bug is to define the eventType excplicity:
@EmployeeHired recordHire(DateTime occurred, @Employee employee) publis