feat: implement multi-tenancy support across knowledge services and normalize TenantId to string type.

This commit is contained in:
2026-05-03 17:52:12 +02:00
parent eac0e9057e
commit e21c24b66d
16 changed files with 334 additions and 94 deletions
@@ -74,11 +74,13 @@ public static class DependencyInjection
services.AddScoped<IAuthorizationHandler, ProUserHandler>();
services.AddMediatR(config =>
{
config.RegisterServicesFromAssembly(typeof(DependencyInjection).Assembly);
});
services.AddScoped<IInfrastructureMarker, InfrastructureMarker>();
return services;
}
public static System.Reflection.Assembly Assembly => typeof(DependencyInjection).Assembly;
}
public interface IInfrastructureMarker { }
internal class InfrastructureMarker : IInfrastructureMarker { }