You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Laravel validation rules for role assignment validation
Features:
- NotAssignedTo rule: validates entity is not already assigned
- AssignedTo rule: validates entity has existing role assignment
- Comprehensive test suite with 18 tests covering edge cases
- Updated Laravel integration docs with validation examples
- Code formatted with Laravel Pint
Benefits:
- Prevents duplicate role assignments
- Validates existing assignments before operations
- Seamless Laravel validation system integration
- Type-safe using Porter entity contracts