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

tsp, bump cadl-ranch #2820

Merged
merged 13 commits into from
Jun 18, 2024

Conversation

weidongxu-microsoft
Copy link
Member

No description provided.

@weidongxu-microsoft weidongxu-microsoft changed the title tsp, host server default as client default tsp, bump cadl-ranch Jun 18, 2024
Comment on lines 308 to 309
// // make the logic same as TCGC, which takes the service default of host as client default
// clientDefaultValue: getDefaultValue(it.defaultValue),
Copy link
Member Author

Choose a reason for hiding this comment

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

currently disable this line, not sure the status of corresponding TCGC behavior Azure/typespec-azure#1030

@@ -61,7 +61,6 @@
"lodash": "~4.17.21"
},
"devDependencies": {
"@azure-tools/typespec-autorest": "0.43.0",
Copy link
Member Author

Choose a reason for hiding this comment

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

It is removed from @azure-tools/typespec-azure-resource-manager

$tspOptions += " --option ""@azure-tools/typespec-java.group-etag-headers=false"""
} elseif ($tspFile -match "azure[\\/]arm[\\/]") {
# for mgmt, do not generate tests due to random mock values
$tspOptions += " --option ""@azure-tools/typespec-java.generate-tests=false"""
Copy link
Member Author

Choose a reason for hiding this comment

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

disable mock test

Copy link
Member Author

Choose a reason for hiding this comment

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

struggling on the regex, going to take a while

@weidongxu-microsoft weidongxu-microsoft marked this pull request as ready for review June 18, 2024 06:30
@weidongxu-microsoft weidongxu-microsoft merged commit 827c354 into Azure:main Jun 18, 2024
3 checks passed
@weidongxu-microsoft weidongxu-microsoft deleted the tsp_host-default branch June 18, 2024 06:31
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.

3 participants