Laragear / Rut

Gracefully handle RUTs from within your Laravel application
https://patreon.com/packagesforlaravel
MIT License
6 stars 0 forks source link

[3.x] FIX Using Rule classes (or their macros) instead of the registered rules can result in invalid queries #45

Closed ipontt-neering closed 2 months ago

ipontt-neering commented 2 months ago

This should fix #44

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (3.x@56d5dd0). Learn more about missing BASE report.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 3.x #45 +/- ## ====================================== Coverage ? 97.69% Complexity ? 160 ====================================== Files ? 15 Lines ? 390 Branches ? 0 ====================================== Hits ? 381 Misses ? 9 Partials ? 0 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ipontt-neering commented 2 months ago

Actually this is not enough to fix the Rule::rutUnique class syntax. I just use Rule::numUnique and it works.