Skip to content

feat: Role facade to declare roles and capabilities the fluent way - #498

Merged
ogorzalka merged 3 commits into
release/v13.37.0from
feat/role-facade
Oct 16, 2026
Merged

ogorzalka merged 3 commits into
release/v13.37.0from
feat/role-facade

Conversation

@ogorzalka

Copy link
Copy Markdown
Member

A Role facade (make, modify, capabilitySet) forwarding to RoleDeclarer from pollora/roles 0.2. Same names as the attributes, same checks, so a mistake is refused with the same reason. RoleServiceProvider binds RoleRegistry with its builder explicitly and adds RoleDeclarer. Contract test extended (facade vs attributes compile to the same roles). Full suite 1585 green, Pint, Rector, PHPStan clean.

@ogorzalka
ogorzalka merged commit e97acff into release/v13.37.0 Oct 16, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant