Skip to content

fix: resolved error handling of larger batch request message #42

fix: resolved error handling of larger batch request message

fix: resolved error handling of larger batch request message #42

Triggered via pull request September 10, 2024 13:28
Status Success
Total duration 2m 25s
Artifacts

sonarcloud.yml

on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
check if SONAR_TOKEN is set in github secrets
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build: src/Microsoft.Graph.Core/Tasks/PageIterator.cs#L155
Use a comparison to 'default(TCollectionPage)' instead or add a constraint to 'TCollectionPage' so that it can't be a value type.
Build: src/Microsoft.Graph.Core/Tasks/PageIterator.cs#L99
Use a comparison to 'default(TCollectionPage)' instead or add a constraint to 'TCollectionPage' so that it can't be a value type.
Build: src/Microsoft.Graph.Core/Requests/Content/BatchResponseContent.cs#L93
Loops should be simplified using the "Where" LINQ method
Build: src/Microsoft.Graph.Core/Requests/Content/BatchResponseContent.cs#L144
Do not forget to remove this deprecated code someday.
Build: src/Microsoft.Graph.Core/Requests/Content/BatchResponseContent.cs#L206
Make 'GetStatusCodeFromJObject' a static method.
Build: src/Microsoft.Graph.Core/Requests/Content/BatchResponseContent.cs#L174
Make 'GetResponseMessageFromJObject' a static method.
Build: src/Microsoft.Graph.Core/Tasks/PageIterator.cs#L99
Use a comparison to 'default(TCollectionPage)' instead or add a constraint to 'TCollectionPage' so that it can't be a value type.
Build: src/Microsoft.Graph.Core/Tasks/PageIterator.cs#L155
Use a comparison to 'default(TCollectionPage)' instead or add a constraint to 'TCollectionPage' so that it can't be a value type.
Build: src/Microsoft.Graph.Core/Requests/Content/BatchResponseContent.cs#L93
Loops should be simplified using the "Where" LINQ method
Build: src/Microsoft.Graph.Core/Requests/Content/BatchResponseContent.cs#L144
Do not forget to remove this deprecated code someday.