Skip to content

Update Error usage to utilize ErrorList record with ErrorMessages and CorrelationId #243

Update Error usage to utilize ErrorList record with ErrorMessages and CorrelationId

Update Error usage to utilize ErrorList record with ErrorMessages and CorrelationId #243

Triggered via pull request April 12, 2024 02:18
Status Success
Total duration 1m 41s
Artifacts 2

dotnetcore.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: src/Ardalis.Result/ErrorList.cs#L5
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
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/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.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/DTOs/ForecastRequestDto.cs#L9
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
pr-number Expired
4 Bytes