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

Bump Bicep.Types to latest to clear deprecation warnings and ensure backwards compatibility #11687

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

jeskew
Copy link
Contributor

@jeskew jeskew commented Aug 31, 2023

Resolves #9572

This PR updates updates The Az, K8s, and MicrosoftGraph type factories to recognize and process the new constraint-bearing primitive type definitions introduced in Azure.Bicep.Types v0.4.1. The Az type generation workflow has been updated to use these new definitions when resource properties are constrained in the service model, so the next release of Bicep will include warnings when, for example, a string is too short or too long to be accepted as a resource name.

Microsoft Reviewers: Open in CodeFlow

@jeskew jeskew requested a review from a team August 31, 2023 13:57
@github-actions
Copy link
Contributor

github-actions bot commented Aug 31, 2023

Test Results (win-x64)

       33 files  ±0         33 suites  ±0   37m 43s ⏱️ - 2m 17s
10 432 tests ±0  10 432 ✔️ ±0  0 💤 ±0  0 ±0 
12 648 runs  ±0  12 648 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 2150e64. ± Comparison against base commit 6e2e430.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 31, 2023

Test Results (linux-x64)

       33 files  ±0         33 suites  ±0   34m 19s ⏱️ - 3m 36s
10 420 tests ±0  10 420 ✔️ ±0  0 💤 ±0  0 ±0 
12 637 runs  ±0  12 637 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 2150e64. ± Comparison against base commit 6e2e430.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 31, 2023

Test Results (osx-x64)

       33 files  ±0         33 suites  ±0   1h 23m 23s ⏱️ - 14m 56s
10 424 tests ±0  10 424 ✔️ ±0  0 💤 ±0  0 ±0 
12 641 runs  ±0  12 641 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 2150e64. ± Comparison against base commit 6e2e430.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 31, 2023

Test Results (linux-musl-x64)

       33 files  ±0         33 suites  ±0   37m 2s ⏱️ + 3m 47s
10 420 tests ±0  10 420 ✔️ ±0  0 💤 ±0  0 ±0 
12 637 runs  ±0  12 637 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 2150e64. ± Comparison against base commit 6e2e430.

♻️ This comment has been updated with latest results.

@jeskew jeskew merged commit 15b911f into main Aug 31, 2023
52 checks passed
@jeskew jeskew deleted the jeskew/bump-bicep.types branch August 31, 2023 16:54
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.

Compile-time implicit validation of custom typed values
2 participants