-
Notifications
You must be signed in to change notification settings - Fork 245
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
[core] Empty parameter visibility and visibility string deprecation #6088
[core] Empty parameter visibility and visibility string deprecation #6088
Conversation
…explicitly testing for legacy functionality
❌ There is undocummented changes. Run The following packages have changes but are not documented.
The following packages have already been documented:
Show changes
|
You can try these changes here
|
.chronus/changes/witemple-msft-visibility-1_0-2025-1-20-17-25-43.md
Outdated
Show resolved
Hide resolved
Azure companion PR: Azure/typespec-azure#2263 |
This is the Azure companion of microsoft/typespec#6088 - Replaces all uses in tests/samples of string visibility modifiers with Lifecycle concepts. - Replaces use of `@parameterVisibility()` with `@patch(#{ implicitOptionality: false })` as needed. - Replaces all usage of deprecated visibility analysis APIs with Lifecycle-based equivalents - Updates lint rules to use more robust methods of detecting visibility requirements. Before merge: - [x] Validate and change specs in azure-rest-api-specs as needed. - [x] Merge microsoft/typespec PR - [x] Reset .gitmodules to point to core repo main branch - [x] Update `core` submodule to microsoft/typespec main
parameterVisibility
/returnTypeVisibility
with no arguments.LegacyParameterVisibility
HTTP flag.visibility-legacy
and will be converted to errors in 1.0-rc.PatchOptions
/getPatchOptions
which now controlsVisibility.Patch
.WIP:
PatchOptions
.