diff --git a/accounts-api/src/Application/Application.csproj b/accounts-api/src/Application/Application.csproj
index fd505b0b..0af0e2b0 100644
--- a/accounts-api/src/Application/Application.csproj
+++ b/accounts-api/src/Application/Application.csproj
@@ -1,6 +1,7 @@
net6.0
+ preview
$(NoWarn);CA1062;1591
enable
true
@@ -13,22 +14,6 @@
-
-
-
- all
- runtime; build; native; contentfiles; analyzers
-
-
- all
- runtime; build; native; contentfiles; analyzers
-
-
- all
- runtime; build; native; contentfiles; analyzers
-
-
-
ResXFileCodeGenerator
diff --git a/accounts-api/src/Domain/Domain.csproj b/accounts-api/src/Domain/Domain.csproj
index abe862dc..b16b6ce2 100644
--- a/accounts-api/src/Domain/Domain.csproj
+++ b/accounts-api/src/Domain/Domain.csproj
@@ -10,22 +10,6 @@
en
-
-
-
- all
- runtime; build; native; contentfiles; analyzers
-
-
- all
- runtime; build; native; contentfiles; analyzers
-
-
- all
- runtime; build; native; contentfiles; analyzers
-
-
-
True
diff --git a/accounts-api/src/Infrastructure/DataAccess/Repositories/AccountRepository.cs b/accounts-api/src/Infrastructure/DataAccess/Repositories/AccountRepository.cs
index 9a01e306..2592a38b 100644
--- a/accounts-api/src/Infrastructure/DataAccess/Repositories/AccountRepository.cs
+++ b/accounts-api/src/Infrastructure/DataAccess/Repositories/AccountRepository.cs
@@ -62,7 +62,7 @@ await this._context
///
public async Task GetAccount(AccountId accountId)
{
- Account account = await this._context
+ Account? account = await this._context
.Accounts
.Where(e => e.AccountId == accountId)
.Select(e => e)
@@ -94,7 +94,7 @@ public async Task Update(Account account, Debit debit) => await this._context
public async Task Find(AccountId accountId, string externalUserId)
{
- Account account = await this._context
+ Account? account = await this._context
.Accounts
.Where(e => e.ExternalUserId == externalUserId && e.AccountId == accountId)
.Select(e => e)
diff --git a/accounts-api/src/Infrastructure/ExternalAuthentication/ExternalUserService.cs b/accounts-api/src/Infrastructure/ExternalAuthentication/ExternalUserService.cs
index 96c0be05..c1950c8e 100644
--- a/accounts-api/src/Infrastructure/ExternalAuthentication/ExternalUserService.cs
+++ b/accounts-api/src/Infrastructure/ExternalAuthentication/ExternalUserService.cs
@@ -24,7 +24,7 @@ public ExternalUserService(
public string GetCurrentUserId()
{
ClaimsPrincipal user = this._httpContextAccessor
- .HttpContext
+ .HttpContext!
.User;
string id = user.FindFirst("sub")?.Value!;
diff --git a/accounts-api/src/Infrastructure/Infrastructure.csproj b/accounts-api/src/Infrastructure/Infrastructure.csproj
index 3ba1c232..1759bc2b 100644
--- a/accounts-api/src/Infrastructure/Infrastructure.csproj
+++ b/accounts-api/src/Infrastructure/Infrastructure.csproj
@@ -2,6 +2,7 @@
net6.0
+ preview
$(NoWarn);CA1062;1591
enable
true
@@ -11,38 +12,21 @@
-
-
- all
- runtime; build; native; contentfiles; analyzers
-
-
- all
- runtime; build; native; contentfiles; analyzers
-
-
- all
- runtime; build; native; contentfiles; analyzers
-
-
-
-
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
+
+
all
runtime; build; native; contentfiles; analyzers
-
-
-
+
+
-
+
@@ -64,4 +48,10 @@
+
+
+ ..\..\..\..\..\..\..\usr\local\share\dotnet\packs\Microsoft.AspNetCore.App.Ref\6.0.0\ref\net6.0\Microsoft.AspNetCore.Http.Abstractions.dll
+
+
+
diff --git a/accounts-api/src/WebApi/WebApi.csproj b/accounts-api/src/WebApi/WebApi.csproj
index 183d50b8..18e1792e 100644
--- a/accounts-api/src/WebApi/WebApi.csproj
+++ b/accounts-api/src/WebApi/WebApi.csproj
@@ -2,6 +2,7 @@
net6.0
+ preview
$(NoWarn);CA1062;1591;CA1801;S1128;S1481;S1075
enable
true
@@ -18,63 +19,28 @@
9ad8d4da-a604-4436-acc9-d7ee7c0e590c
-
- Project
- true
-
-
-
- https://localhost:5005
-
-
-
- Project
- true
-
-
-
- https://localhost:5005
-
-
-
-
-
- all
- runtime; build; native; contentfiles; analyzers
-
-
- all
- runtime; build; native; contentfiles; analyzers
-
-
- all
- runtime; build; native; contentfiles; analyzers
-
-
-
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
-
-
-
-
-
-
+
+
+
+
+
-
-
+
+
diff --git a/accounts-api/src/WebApi/key-af978992-f745-47fa-b0ac-106eb5d9faee.xml b/accounts-api/src/WebApi/key-af978992-f745-47fa-b0ac-106eb5d9faee.xml
new file mode 100644
index 00000000..5b2d0bc7
--- /dev/null
+++ b/accounts-api/src/WebApi/key-af978992-f745-47fa-b0ac-106eb5d9faee.xml
@@ -0,0 +1,16 @@
+
+
+ 2021-11-15T15:24:31.692136Z
+ 2021-11-15T15:24:31.648902Z
+ 2022-02-13T15:24:31.648902Z
+
+
+
+
+
+
+ YrBPLeEcj87szZnVknNI+oErDnMUF8lvbD8COELSRWspNuulKUTQsrjLeFDteKsBmyc4+O7d8/AEr9PqUKjo4A==
+
+
+
+
\ No newline at end of file
diff --git a/accounts-api/test/ComponentTests/ComponentTests.csproj b/accounts-api/test/ComponentTests/ComponentTests.csproj
index 17959dd8..60833f45 100644
--- a/accounts-api/test/ComponentTests/ComponentTests.csproj
+++ b/accounts-api/test/ComponentTests/ComponentTests.csproj
@@ -12,14 +12,14 @@
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/accounts-api/test/EndToEndTests/EndToEndTests.csproj b/accounts-api/test/EndToEndTests/EndToEndTests.csproj
index 17959dd8..60833f45 100644
--- a/accounts-api/test/EndToEndTests/EndToEndTests.csproj
+++ b/accounts-api/test/EndToEndTests/EndToEndTests.csproj
@@ -12,14 +12,14 @@
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/accounts-api/test/IntegrationTests/IntegrationTests.csproj b/accounts-api/test/IntegrationTests/IntegrationTests.csproj
index 002a3ba5..243ece00 100644
--- a/accounts-api/test/IntegrationTests/IntegrationTests.csproj
+++ b/accounts-api/test/IntegrationTests/IntegrationTests.csproj
@@ -12,14 +12,14 @@
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/accounts-api/test/UnitTests/UnitTests.csproj b/accounts-api/test/UnitTests/UnitTests.csproj
index 0dfcfb2d..a2afc348 100644
--- a/accounts-api/test/UnitTests/UnitTests.csproj
+++ b/accounts-api/test/UnitTests/UnitTests.csproj
@@ -12,14 +12,14 @@
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/identity-server/IdentityServer.csproj b/identity-server/IdentityServer.csproj
index 2b771589..7ab1618a 100644
--- a/identity-server/IdentityServer.csproj
+++ b/identity-server/IdentityServer.csproj
@@ -8,9 +8,9 @@
-
-
-
+
+
+
\ No newline at end of file