Skip to content

Collection constraint#229

Merged
Blacksmoke16 merged 10 commits intomasterfrom
collection-constraint
Dec 4, 2022
Merged

Collection constraint#229
Blacksmoke16 merged 10 commits intomasterfrom
collection-constraint

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