-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[compiler] Enum-driven visibility (#4825)
This PR implements the design described in the Enum-Driven Visibility rework discussions. There is still some work to be done: - [x] Testing of new functionality (existing tests are almost all passing) - [x] Diagnosing remaining failure w.r.t. Resource create operations in TypeSpec/REST - [ ] Validate no breaking changes to Azure specifications. - [x] Documentation review and updating existing visibility documentation to describe new behavior. The design documents are located at the following gist: https://gist.github.com/witemple-msft/f122c1fce83e72d102290b5678930ac5 --------- Co-authored-by: Will Temple <[email protected]> Co-authored-by: Timothee Guerin <[email protected]>
- Loading branch information
1 parent
34af566
commit 050139d
Showing
32 changed files
with
4,274 additions
and
415 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
.chronus/changes/witemple-msft-visibility-enum-2024-10-6-16-50-9.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
changeKind: feature | ||
packages: | ||
- "@typespec/compiler" | ||
--- | ||
|
||
Adds support for enum-driven visibility in the compiler core. |
8 changes: 8 additions & 0 deletions
8
.chronus/changes/witemple-msft-visibility-enum-2024-10-6-16-53-11.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
changeKind: internal | ||
packages: | ||
- "@typespec/http" | ||
- "@typespec/openapi" | ||
--- | ||
|
||
Mask deprecation on getVisibility |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.