Mapping registration problem #647
Unanswered
careless6666
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have registration in library here
https://github.com/Farfetch/kafkaflow/blob/master/src/KafkaFlow/Middlewares/TypedHandler/Configuration/TypedHandlerConfigurationBuilder.cs#L113
And it is a big problem if you will use your interfaces inherited from IMessageHandler
example
In this case we will have double handler registration because it is resolved as IMessageHandler<TMessage and IPersistantMessageHandler and mapped to single message. It is really strange, because i use only one registration
and expect only one call after instead of double
And I haven't found any way to fix this mapping configuration.
Beta Was this translation helpful? Give feedback.
All reactions