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

Collection constraint #229

Merged
merged 10 commits into from
Dec 4, 2022
Merged

Collection constraint #229

merged 10 commits into from
Dec 4, 2022

Conversation

Blacksmoke16
Copy link
Member

@Blacksmoke16 Blacksmoke16 commented Dec 4, 2022

  • Add the Collection constraint
  • Fix property path display issue with Enumerable objects
  • Prevent Valid constraints within a Composite constraint
  • Better handle/validate groups for Composite constraints
  • Add AVD::Spec::ConstraintValidatorTestCase#expect_validate_value_at to more easily handle validation of nested constraints

Make asserting contextual validations more robust in specs
Handle custom enumerables when build violation property path
Add spec for enumerable/hash bracket notation contexts
Ensure Valid constraint cannot be used with it
Properly merge/check for excess groups in nested constraints
First pass on collection docs
Add docs to existence based constraints
@Blacksmoke16 Blacksmoke16 added kind:bug An existing feature isn't working as expected component:validator kind:feature Brand new functionality kind:enhancement New functionality to an existing feature breaking labels Dec 4, 2022
@Blacksmoke16 Blacksmoke16 merged commit c678947 into master Dec 4, 2022
@Blacksmoke16 Blacksmoke16 deleted the collection-constraint branch December 4, 2022 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:validator kind:bug An existing feature isn't working as expected kind:enhancement New functionality to an existing feature kind:feature Brand new functionality
Development

Successfully merging this pull request may close these issues.

1 participant