Closed stambunan closed 1 year ago
Hello,
Is there a way to create a generic IFailed to catch unimplemented second level retries?
I have a question on https://stackoverflow.com/questions/76520100/is-there-a-way-to-create-a-generic-ifailedt-to-catch-unimplemented-second-leve and was hoping for some guidance.
In short, we have second-level retries enabled and not all our handlers are implementing IFailed<SomeCommand>. Is there a way to register a generic IHandleMessages<IFailed<T>> to handle all other other second level retries?
IFailed<SomeCommand>
IHandleMessages<IFailed<T>>
Have you tried IHandleMessages<IFailed<object>>?
IHandleMessages<IFailed<object>>
Closing as it's been answered https://stackoverflow.com/a/76817369/1835622
Hello,
Is there a way to create a generic IFailed to catch unimplemented second level retries?
I have a question on https://stackoverflow.com/questions/76520100/is-there-a-way-to-create-a-generic-ifailedt-to-catch-unimplemented-second-leve and was hoping for some guidance.
In short, we have second-level retries enabled and not all our handlers are implementing
IFailed<SomeCommand>
. Is there a way to register a genericIHandleMessages<IFailed<T>>
to handle all other other second level retries?