refactor: align TenantRepository with CleanDDD/NetCorePal规范

- remove duplicate ITenantRepository/TenantRepository from Console
- extend Platform ITenantRepository with GetByIdAsync, GetPagedAsync, CountAsync
- update Console services to use Platform.Infrastructure.Repositories
- fix nullable warnings (UserDto, OAuthClientService)
- fix YarpGateway Directory.Build.props duplicate import
- fix DynamicProxyConfigProvider CS8618 warning
This commit is contained in:
movingsam 2026-02-19 19:20:06 +08:00
parent 6f690c76fa
commit a39824397c
2 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,4 @@
<Project> <Project>
<!-- Import central package management from parent directory -->
<Import Project="$(MSBuildThisFileDirectory)../Directory.Packages.props" Condition="Exists('$(MSBuildThisFileDirectory)../Directory.Packages.props')" />
<PropertyGroup> <PropertyGroup>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>

View File

@ -19,6 +19,7 @@ public class DynamicProxyConfigProvider : IProxyConfigProvider
_routeProvider = routeProvider; _routeProvider = routeProvider;
_clusterProvider = clusterProvider; _clusterProvider = clusterProvider;
_cts = new CancellationTokenSource(); _cts = new CancellationTokenSource();
_config = null!;
UpdateConfig(); UpdateConfig();
} }