Closed evt-jonny closed 7 months ago
@evt-jonny @bbrandt thanks for the PR. We will evaluate it and make a decision about what to do.
Most NServiceBus endpoint applications end up with a lot of assemblies in their App Domains which is part of the reason we aggressively filter the list that we perform assembly scanning on. Take a look in the startup diagnostic file of an endpoint and you will see the list of assemblies that were skipped. This change has the potential to slow down endpoint creation significantly as we would need to perform type-scanning on all assemblies.
This change has the potential to slow down endpoint creation significantly as we would need to perform type-scanning on all assemblies.
@mikeminutillo totally agree, see my response in the original issue.
@evt-jonny @bbrandt Thank you for your PR. After discussing this internally, we have too many concerns about the impact on endpoint startup time when someone opts in to this flag.
Given that you currently have a viable workaround to get you unstuck we have decided not to merge this.
We have added the issue to our backlog for deeper architectural review at some point in a future release.
https://github.com/Particular/NServiceBus/issues/6967