Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes template re-use. #4459

Merged
merged 4 commits into from
Apr 8, 2024
Merged

Fixes template re-use. #4459

merged 4 commits into from
Apr 8, 2024

Conversation

andrueastman
Copy link
Member

@andrueastman andrueastman commented Apr 8, 2024

Related to microsoftgraph/msgraph-sdk-dotnet#2384 and microsoftgraph/msgraph-sdk-dotnet#2335

This PR is a follow up to #4154,

It tweaks the use generating URL Template parameters to only be unique for an operation when a required parameter is present across the operations. (This results in 15% decrease in user strings in the V1 SDK package of graph). This enables scenarios where a URL template passed to the constructor of a request builder can be used across operations without having to be redefined as well.

@andrueastman andrueastman requested a review from a team as a code owner April 8, 2024 10:48
@andrueastman andrueastman enabled auto-merge April 8, 2024 10:49
auto-merge was automatically disabled April 8, 2024 10:53

Pull Request is not mergeable

Copy link

sonarqubecloud bot commented Apr 8, 2024

@andrueastman andrueastman enabled auto-merge April 8, 2024 11:20
@andrueastman andrueastman merged commit 8d71bf1 into main Apr 8, 2024
207 checks passed
@andrueastman andrueastman deleted the andrueastman/testFix branch April 8, 2024 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants