Skip to content

skip query params already in x-ms-paths #790

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

Merged
merged 7 commits into from
Jun 10, 2022

Conversation

ctaggart
Copy link
Contributor

@ctaggart ctaggart commented Jun 10, 2022

Fix #445. Fix #624. This also continues adding types that implement ToTokens. Looks like this also finishes updating #789 for svc. I ran it twice. Checking all features here.

@@ -337,8 +482,8 @@ fn create_operation_code(cg: &CodeGen, operation: &WebOperationGen) -> Result<Op
let parameters = operation.0.parameters();
let param_names: HashSet<_> = parameters.iter().map(|p| p.name()).collect();
let has_param_api_version = param_names.contains("api-version");
let mut skip = HashSet::new();
skip.insert("api-version");
let mut skip = parse_query_params(&operation.0.path)?;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the primary change.

@cataggar cataggar requested review from bmc-msft and johnbatty June 10, 2022 13:52
@cataggar cataggar merged commit e6f36ff into Azure:main Jun 10, 2022
@ctaggart ctaggart deleted the parse_query_params branch August 2, 2022 03:00
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.

get_user_delegation_key duplicates URI keys unsettable query params
3 participants