-
-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Supply another mechanism for event naming #907
Comments
Hello there! We hope you are doing well. We noticed that this issue has not seen any activity in the past 90 days. If you still require assistance with this issue, please feel free to reopen it or create a new issue. Thank you for your understanding and cooperation. Best regards, |
Hello there! We hope you are doing well. We noticed that this issue has not seen any activity in the past 90 days. If you still require assistance with this issue, please feel free to reopen it or create a new issue. Thank you for your understanding and cooperation. Best regards, |
Hello there 👋 I was thinking a bit about that problem recently. Let's see if I got that right: Wouldn't the More precisely, as the method A default strategy could then be something like a Bottom line, the protected override EventDefinition CreateDefinition(int version, Type type, string name)
{
var strategyAppliedName = _eventFlowConfiguration.EventNamingStrategy
.CreateEventName(version, type, name);
return new EventDefinition(version, type, strategyAppliedName);
} Hope that makes sense 😅 Any opinions or objections? |
Any opinion here? Otherwise I would go ahead and open an PR based on SeWaS@28fad0b. |
@SeWaS that would be awesome! I had a look through your commit and maybe simply rely on the |
…instead of EventFlowConfiguration
As mentioned in #903, events with the same name created in different namespaces will collide. While there is a workaround using
[EventVersion]
, the OOB experience should be that it should merely work.An idea would be to create some settings that developers are forced to do during EventFlow initialization, like selecting the naming for events. Then introduce a new naming convention named
NamespaceAndClassName
along side the existingClassName
naming.The text was updated successfully, but these errors were encountered: