Skip to content

chore: Add tests to ensure Command/Queries always returns a Result #28

chore: Add tests to ensure Command/Queries always returns a Result

chore: Add tests to ensure Command/Queries always returns a Result #28

Triggered via pull request October 22, 2024 12:22
Status Success
Total duration 1m 55s
Artifacts

build-and-test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build-and-test
The following actions use a deprecated Node.js version and will be forced to run on node20: 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-and-test: src/Application/Weather/GetForecast/GetForecastQueryHandler.cs#L15
Dereference of a possibly null reference.
build-and-test: src/Api/Routes/Weather/Models/GetWeatherResponse.cs#L5
Non-nullable property 'Forecast' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build-and-test: tests/Core.Tests/Rules/RequestShouldWrapResultRule.cs#L22
Dereference of a possibly null reference.
build-and-test: tests/Core.Tests/ArchitectureTests.cs#L12
Possible null reference assignment.
build-and-test: tests/Core.Tests/ArchitectureTests.cs#L13
Possible null reference assignment.
build-and-test: tests/Core.Tests/ArchitectureTests.cs#L14
Possible null reference assignment.
build-and-test: tests/Core.Tests/ArchitectureTests.cs#L15
Possible null reference assignment.
build-and-test: tests/Api.E2E/ForecastTests.cs#L163
Dereference of a possibly null reference.
build-and-test: tests/Api.E2E/ForecastTests.cs#L190
Dereference of a possibly null reference.
build-and-test: src/Application/Weather/GetForecast/GetForecastQueryHandler.cs#L15
Dereference of a possibly null reference.