Skip to content

Enable Nullable in Core and Service Activator #5070

Enable Nullable in Core and Service Activator

Enable Nullable in Core and Service Activator #5070

Triggered via pull request September 17, 2024 23:50
@preardonpreardon
synchronize #3294
nullables
Status Failure
Total duration 2m 38s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build
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.