Roadmap for 4.0
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 0
- Forks
- 1
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 6
Description
I've been keeping a wishlist of ideas that might appear in the following version:
- Extract
Respect\Parameter\ReflectorfromContainerResolver- a leftover from the interface migration that putsreflectCallableandacceptsTypeinto a final abstract utils-like class calledReflector. - Fail on unresolved parameters (by throwing an
CannotResolveParameterException). That would unlock stackable resolvers (try one, then try the next, and so on). StackedResolver- meta-class for stacking Resolver.php implementations (assuming they throw).- Split behaviors of the current resolver into stackable components the users can choose from (position, pull from container, infer by type, variadic fill, etc). Instead of a long procedure, the mechanism would be OOP-stack based.
These changes would promote a clearer API, be very small, and enable foreign implementors to add their own layering (which is impractical today, like caching and exotic specific resolvers).
Contributor guide
No contributing guide indexed for this repository
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 by reading Resolver.php and the current ContainerResolver implementation, then trace how reflectCallable, acceptsType, and parameter resolution are used. The roadmap mentions extracting Reflector, adding CannotResolveParameterException and StackedResolver, and splitting resolver behaviors, but it does not define a single acceptance target; completion would require an agreed design and scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100