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

Reorder component property keywords so the PropertyKind is first #733

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

joem-msft
Copy link
Contributor

If this is related to an issue open in GitHub, please link it to this ticket and put the URL here.

Problem

To normalize the output yaml for component properties, by convention, "differentiator keywords" are generally emitted first. While not a technical requirement, it allows for easier to read code and is consistent with similar patterns in the OM.

Validation

Added unit test that verifies the order of yaml keywords.

@joem-msft joem-msft requested review from a team as code owners January 17, 2025 00:18
@joem-msft joem-msft merged commit b0b3b1b into master Jan 17, 2025
4 checks passed
@joem-msft joem-msft deleted the users/joemay/ComponentProperty-yaml-ordering branch January 17, 2025 01:28
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.

2 participants