Skip to content

Add support for single validation error with Result.Invalid (#144) #182

Add support for single validation error with Result.Invalid (#144)

Add support for single validation error with Result.Invalid (#144) #182

Triggered via push August 29, 2023 17:32
Status Success
Total duration 1m 19s
Artifacts 1

dotnetcore.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: sample/Ardalis.Result.Sample.Core/DTOs/CreatePersonRequestDto.cs#L5
Non-nullable property 'FirstName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: sample/Ardalis.Result.Sample.Core/DTOs/CreatePersonRequestDto.cs#L6
Non-nullable property 'LastName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: sample/Ardalis.Result.Sample.Core/DTOs/ForecastRequestDto.cs#L9
Non-nullable property 'PostalCode' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: sample/Ardalis.Result.Sample.Core/Model/Person.cs#L9
Non-nullable property 'Surname' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: sample/Ardalis.Result.Sample.Core/Model/Person.cs#L10
Non-nullable property 'Forename' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: sample/Ardalis.Result.Sample.Core/Model/Person.cs#L12
Non-nullable property 'Children' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: sample/Ardalis.Result.Sample.Core/Exceptions/ForecastRequestInvalidException.cs#L15
Non-nullable property 'ValidationErrors' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: sample/Ardalis.Result.Sample.Core/Model/WeatherForecast.cs#L13
Non-nullable property 'Summary' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: sample/Ardalis.Result.SampleWeb/Pages/Index.cshtml.cs#L10
Non-nullable property 'Message' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: sample/Ardalis.Result.SampleWeb/MediatrApi/WeatherForecastController.cs#L49
Non-nullable property 'PostalCode' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Artifacts

Produced during runtime
Name Size
code-coverage-results Expired
309 Bytes