From 80f428b3614f92a7a1f99965e99d3816becc95c1 Mon Sep 17 00:00:00 2001 From: Oleg <18466855+EvaTheSalmon@users.noreply.github.com> Date: Fri, 5 Jun 2026 11:29:54 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20=D0=BC=D1=91=D1=80=D1=82=D0=B2=D1=83=D1=8E=20=D1=80?= =?UTF-8?q?=D0=B5=D0=B3=D0=B8=D1=81=D1=82=D1=80=D0=B0=D1=86=D0=B8=D1=8E=20?= =?UTF-8?q?AddScoped=20(#108)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Координатор всегда создаётся через ActivatorUtilities от root-провайдера, scope в кодовой базе не создаётся ни разу — регистрация только вводила в заблуждение и противоречила architecture.md («do not register these types in the container»). Co-Authored-By: Claude Opus 4.8 (1M context) --- NtoLib/Recipes/MbeTable/ModuleInfrastructure/DiContainer.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/NtoLib/Recipes/MbeTable/ModuleInfrastructure/DiContainer.cs b/NtoLib/Recipes/MbeTable/ModuleInfrastructure/DiContainer.cs index fa2aecb..361af36 100644 --- a/NtoLib/Recipes/MbeTable/ModuleInfrastructure/DiContainer.cs +++ b/NtoLib/Recipes/MbeTable/ModuleInfrastructure/DiContainer.cs @@ -335,7 +335,6 @@ private static void RegisterPresentationServices(IServiceCollection services) services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); - services.AddScoped(); services.AddSingleton(); services.AddSingleton();