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

Adding Policy Field Count Expression Support #1480

Merged

Conversation

ArmaanMcleod
Copy link
Contributor

@ArmaanMcleod ArmaanMcleod commented Jun 13, 2022

PR Summary

Adding more field count expression support to microsoft/PSRule#1024 and #181.

Converting field count expressions to object path syntax. Handled quite a bit of cases here, will be adding more functionality when more expression support is added. Didn't want this PR to get too big 😄.

PR Checklist

  • PR has a meaningful title
  • Summarized changes
  • Change is not breaking
  • This PR is ready to merge and is not Work in Progress
  • Other code changes
    • Unit tests created/ updated
    • Link to a filed issue
    • Change log has been updated with change under unreleased section

@ArmaanMcleod ArmaanMcleod marked this pull request as ready for review June 13, 2022 10:34
@ArmaanMcleod ArmaanMcleod requested a review from a team as a code owner June 13, 2022 10:34
Copy link
Collaborator

@BernieWhite BernieWhite left a comment

Choose a reason for hiding this comment

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

@ArmaanMcleod Awesome work. Yes, good to refine support for these.

docs/CHANGELOG-v1.md Outdated Show resolved Hide resolved
Co-authored-by: Bernie White <[email protected]>
@ArmaanMcleod ArmaanMcleod merged commit e642216 into Azure:main Jun 13, 2022
@ArmaanMcleod ArmaanMcleod deleted the policy-field-count-expression-support branch June 13, 2022 13:44
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