-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Describe the suggested improvement
ServiceControl.Contracts require overriding conventions like shown below
var conventions = endpointConfiguration.Conventions();
conventions.DefiningEventsAs(
type =>
{
return typeof(IEvent).IsAssignableFrom(type) ||
// include ServiceControl events
type.Namespace != null &&
type.Namespace.StartsWith("ServiceControl.Contracts");
});because they do not use the marker interfaces. Historically this made sense because we wanted to avoid tight coupling to NServiceBus. With the introduction of MessageInterfaces this seems no longer necessary, and we could release a new version of the contracts that references NServiceBus.MessageInterfaces which then would mean all the convention code is no longer required.
Additional Context
No response
Reactions are currently unavailable