refactor: upgrade to .net 8 and code reformating #19
Annotations
1 error and 11 warnings
build
Process completed with exit code 1.
|
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build:
src/TDDSample/Shared/ProblemDetail/DefaultProblemDetailMapper.cs#L18
Nullable value type may be null.
|
build:
src/TDDSample/Users/Config.cs#L33
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
|
build:
src/TDDSample/TodoItem/Config.cs#L33
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
|
build:
tests/TDDSample.Tests/UnitTests/Shared/UserHttpClientTests.cs#L152
The variable 'total' is assigned but its value is never used
|
build:
tests/TDDSample.Tests/UnitTests/TodoItems/Features/GettingTodoItemById/GetTodoItemByIdHandlerTests.cs#L98
Converting null literal or possible null value to non-nullable type.
|
build:
tests/TDDSample.Tests/UnitTests/Shared/UserHttpClientTests.cs#L187
The variable 'total' is assigned but its value is never used
|
build:
tests/TDDSample.Tests/UnitTests/Users/Features/GetUsers/GetUsersEndpointTests.cs#L133
Dereference of a possibly null reference.
|
build:
tests/TDDSample.Tests/UnitTests/TodoItems/Features/GettingTodoItems/GetTodoItemsEndpointTests.cs#L126
Dereference of a possibly null reference.
|
build:
src/TDDSample/Shared/ProblemDetail/DefaultProblemDetailMapper.cs#L18
Nullable value type may be null.
|
build:
src/TDDSample/Users/Config.cs#L33
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
|