Skip to content

Adjust assembly loading behavior to not rely on core scanning #1379

@andreasohlund

Description

@andreasohlund

Describe the suggested improvement

In v11, we load the assemblies that contain sagas, and if scanning is on, we also include all the scanned assemblies. This means that when scanning is off, only assemblies with sagas are loaded. Since users can explicitly add assemblies as needed via the NHibernate APIs, there is no real need to load all assemblies, and we should align behavior regardless of whether assembly scanning in core is on or off.

This would also fix #183

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions