Skip to content

Conversation

@afuno
Copy link
Member

@afuno afuno commented Jun 30, 2025

No description provided.

- Added caching for validation classes to reduce redundant computation.
- Ensured early exits if validation classes or errors are empty.
- Extended `Errors` delegators to include `empty?` for better usability.
- Updated `OptionsCollection` to cache validation classes for efficient reuse.
- Adjusted method lengths and checks for better readability and maintainability.
@afuno afuno added this to the v2.16.0 milestone Jun 30, 2025
@afuno afuno self-assigned this Jun 30, 2025
@afuno afuno added the polish label Jun 30, 2025
@afuno afuno marked this pull request as ready for review June 30, 2025 16:52
afuno added 2 commits July 3, 2025 02:09
- Replaced separate caching logic with direct assignment to reduce complexity.
- Suppressed RuboCop warning for memoized instance variable naming.
- Enhanced readability and maintainability of the `validation_classes_from` method.
@afuno afuno merged commit 65bf80a into main Jul 5, 2025
32 checks passed
@afuno afuno deleted the polish/SRV-262/validation branch July 5, 2025 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants