Skip to content

Conversation

@andrueastman
Copy link
Contributor

@andrueastman andrueastman commented Jan 28, 2025

Closes microsoftgraph/msgraph-sdk-dotnet#2774

Authentication provider is unnecessarilly invoked repeatedly to set the Auth header which is unnecessary in the batch message. In the event that the message isn't in the cash this can cause increased execution for a task that is unneeded.

Microsoft Reviewers: Open in CodeFlow

@andrueastman andrueastman requested a review from a team as a code owner January 28, 2025 09:13
@andrueastman andrueastman force-pushed the andrueastman/fixBatchPerf branch from bb6e3c2 to 86e9ad3 Compare January 28, 2025 09:26
…` method due to the client trying to authenticate the request on conversion
@andrueastman andrueastman force-pushed the andrueastman/fixBatchPerf branch from 86e9ad3 to a5b3950 Compare January 28, 2025 09:29
baywet
baywet previously approved these changes Jan 28, 2025
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@andrueastman andrueastman merged commit e1fdb11 into main Jan 28, 2025
9 of 10 checks passed
@andrueastman andrueastman deleted the andrueastman/fixBatchPerf branch January 28, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding a batch request step should not authenticate the request

3 participants