Last active
November 26, 2024 07:34
-
-
Save dj-nitehawk/b3615fad393beabefe929e3f81af6822 to your computer and use it in GitHub Desktop.
Registration of additional assemblies for type discovery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bld.Services.AddFastEndpoints( | |
o => o.Assemblies = new[] | |
{ | |
typeof(SomeAssemblyName).Assembly, | |
typeof(AnotherAssemblyName).Assembly | |
}); | |
//this also enables bypassing the default blacklist of assemblies: https://github.com/FastEndpoints/FastEndpoints/blob/main/Src/Library/Main/EndpointData.cs#L36-L56 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// source generator version