Skip to content

Lekce 09 - part 1

Lekce 09 - part 1 #61

Triggered via push November 20, 2024 18:01
Status Failure
Total duration 43s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 11 warnings
build: ToDoList/src/ToDoList.Frontend/Components/Dashboard.razor#L29
A field initializer cannot reference the non-static field, method, or property 'Dashboard.ToDoItemsClient'
build: ToDoList/src/ToDoList.Frontend/Components/Dashboard.razor#L29
A field initializer cannot reference the non-static field, method, or property 'Dashboard.ToDoItemsClient'
build
Process completed with exit code 1.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, 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: ToDoList/src/ToDoList.Domain/Models/ToDoItem.cs#L10
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: ToDoList/src/ToDoList.Domain/Models/ToDoItem.cs#L12
Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: ToDoList/src/ToDoList.Frontend/Clients/ToDoItemsClient.cs#L9
Non-nullable field 'httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: ToDoList/src/ToDoList.Frontend/Clients/ToDoItemsClient.cs#L11
Assignment made to same variable; did you mean to assign something else?
build: ToDoList/src/ToDoList.Frontend/Views/ToDoItemView.cs#L6
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: ToDoList/src/ToDoList.Frontend/Views/ToDoItemView.cs#L7
Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: ToDoList/src/ToDoList.Frontend/Clients/ToDoItemsClient.cs#L19
Possible null reference argument for parameter 'source' in 'IEnumerable<ToDoItemView> Enumerable.Select<ToDoItemGetResponseDto, ToDoItemView>(IEnumerable<ToDoItemGetResponseDto> source, Func<ToDoItemGetResponseDto, ToDoItemView> selector)'.
build: ToDoList/src/ToDoList.Frontend/Clients/ToDoItemsClient.cs#L8
Field 'ToDoItemsClient.httpClient' is never assigned to, and will always have its default value null
build: ToDoList/tests/ToDoList.Test/IntegrationTests/DeleteTests.cs#L12
Remove the underscores from member name ToDoList.Test.IntegrationTests.DeleteTests.Delete_ValidId_ReturnsNoContent() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
build: ToDoList/tests/ToDoList.Test/IntegrationTests/PutTests.cs#L13
Remove the underscores from member name ToDoList.Test.IntegrationTests.PutTests.Put_ValidId_ReturnsNoContent() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)