Skip to content

feat(routing): validate duplicate modern routes#146

Merged
imdhemy merged 3 commits into2.xfrom
pr3-route-conflict-validation
Mar 24, 2026
Merged

feat(routing): validate duplicate modern routes#146
imdhemy merged 3 commits into2.xfrom
pr3-route-conflict-validation

Conversation

@imdhemy
Copy link
Copy Markdown
Member

@imdhemy imdhemy commented Mar 24, 2026

Q A
License GPLv3
Issue Closes #142

This PR adds fail-fast validation for duplicate modern route registrations.

Function-first routes now reject duplicate method and path combinations, and duplicate route names, before registration happens. This validation applies only to the modern routes API and does not change legacy decorator-routing behavior.

@imdhemy imdhemy merged commit 9497786 into 2.x Mar 24, 2026
1 check passed
@imdhemy imdhemy deleted the pr3-route-conflict-validation branch March 24, 2026 22:18
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.

Route Validation And Failure Quality

1 participant