Skip to content

Conversation

@henriquemoody
Copy link
Member

Closes #1501

@codecov
Copy link

codecov bot commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.57%. Comparing base (74c018b) to head (e465810).
Report is 7 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1502      +/-   ##
============================================
+ Coverage     96.56%   96.57%   +0.01%     
- Complexity      978      979       +1     
============================================
  Files           201      202       +1     
  Lines          2417     2426       +9     
============================================
+ Hits           2334     2343       +9     
  Misses           83       83              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This follows the same pattern as the `Length` rule.

I've also removed the separate named and standard templates from these
rules. I didn't see a good way to implement these in the new pattern,
and also felt the language of the old standard template was somewhat
difficult to read anyway.
This base class could also be used for other aggregate operations on
arrays, e.g. a sum. (It can't be used for `Length` though, as we would
not be able to validate a length of 0.).
@henriquemoody henriquemoody merged commit e465810 into Respect:main Dec 20, 2024
8 checks passed
@henriquemoody henriquemoody deleted the pr/1501 branch December 20, 2024 15:50
@henriquemoody henriquemoody added this to the 3.0 milestone Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants