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

Add validation for parent property #7254

Merged
merged 8 commits into from
Jun 21, 2022

Conversation

davidcho23
Copy link
Contributor

@davidcho23 davidcho23 commented Jun 16, 2022

Fixes #7154

Throw diagnostic for values in the parent property that Bicep cannot compute. This includes ternary operators which is shown below.

image

Microsoft Reviewers: Open in CodeFlow

@davidcho23 davidcho23 changed the title Davidcho23/add validation for parent property Add validation for parent property Jun 16, 2022
Copy link
Member

@anthony-c-martin anthony-c-martin left a comment

Choose a reason for hiding this comment

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

Looks great!

@davidcho23 davidcho23 merged commit 5048ab6 into main Jun 21, 2022
@davidcho23 davidcho23 deleted the davidcho23/addValidationForParentProperty branch June 21, 2022 00:12
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.

Add validation to block expressions on the parent property
2 participants