Enable Nullable in Core and Service Activator #5070
Annotations
1 error and 10 warnings
Core Tests
Process completed with exit code 1.
|
Build:
samples/WebAPI/WebAPI_Dapper/SalutationApp/Entities/Salutation.cs#L11
Non-nullable property 'Greeting' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
samples/WebAPI/WebAPI_Dapper/SalutationApp/Handlers/GreetingMadeHandlerAsync.cs#L42
Converting null literal or possible null value to non-nullable type.
|
Build:
samples/WebAPI/WebAPI_Dapper/SalutationApp/Handlers/GreetingMadeHandlerAsync.cs#L47
Possible null reference argument for parameter 'cnn' in 'Task<int> SqlMapper.ExecuteAsync(IDbConnection cnn, string sql, object? param = null, IDbTransaction? transaction = null, int? commandTimeout = null, CommandType? commandType = null)'.
|
Build:
samples/WebAPI/WebAPI_Dapper/GreetingsApp/Responses/FindPersonsGreetings.cs#L7
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
samples/WebAPI/WebAPI_Dapper/GreetingsApp/Responses/FindPersonsGreetings.cs#L8
Non-nullable property 'Greetings' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
samples/WebAPI/WebAPI_Dapper/GreetingsApp/Entities/Person.cs#L13
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
samples/WebAPI/WebAPI_Dapper/GreetingsApp/Entities/Greeting.cs#L11
Non-nullable property 'Message' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
samples/WebAPI/WebAPI_Dapper/GreetingsApp/Handlers/FindPersonByNameHandlerAsync.cs#L36
Converting null literal or possible null value to non-nullable type.
|
Build:
samples/WebAPI/WebAPI_Dapper/GreetingsApp/Handlers/FindPersonByNameHandlerAsync.cs#L38
Possible null reference argument for parameter 'person' in 'FindPersonResult.FindPersonResult(Person person)'.
|
Build:
samples/WebAPI/WebAPI_Dapper/GreetingsApp/Handlers/AddGreetingHandlerAsync.cs#L52
Converting null literal or possible null value to non-nullable type.
|
Loading