Allow to use backed enumerations as route name
Open
Beginner friendly
Nobody has claimed this yet.
severity:BC breaking
type:enhancement
- Dominant language
- PHP
- Stars
- 63
- Forks
- 26
- Avg merge
- 6d 2h
- Merged PRs (30d)
- 1
Description
Proposed new feature or change
This relates to the following items:
- url generator "generate" methods
-
Route::name()method -
RouteCollection::getRoute()method
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Route::name() method, the only checked item in the issue, and inspect how it currently accepts route names. Determine the expected behavior for backed enumerations and add focused coverage for that method; done means backed enum values can be used as route names without affecting existing names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 63/100