Improved assertion in #lazy_builder: loop to assert params individually.
Closes #3455746
Optimized assertion error handling in #lazy_builder callback. Replaced assertion that used count() and array_filter() methods with the array_walk function to assert each parameter individually. This refactoring enhances the clarity of the assertion error by specifying the problematic parameter when encountered.
Merge request reports
Activity
added 175 commits
-
dcb7b669...62f9af40 - 174 commits from branch
project:11.x
- 8f1589f0 - Improved assertion in #lazy_builder: loop to assert params individually.
-
dcb7b669...62f9af40 - 174 commits from branch
Optimized assertion error handling in #lazy_builder callback. Replaced assertion that used count() and array_filter() methods with the array_walk function to assert each parameter individually. This refactoring enhances the clarity of the assertion error by specifying the problematic parameter when encountered.
- Resolved by Cesar Morua
- Resolved by Cesar Morua
- Resolved by Cesar Morua
- Resolved by Cesar Morua
added 1 commit
- 53ae54af - Refactored assertions in #lazy_builder callback for precise error reports.
@joachim I have addressed all the requested changes; when you have a minute, I would appreciate it if you could review the code again.
Kind regards!