Add support resolving of `Factory` dependency
Open
Nobody has claimed this yet.
status:under discussion
type:enhancement
- Dominant language
- PHP
- Stars
- 36
- Forks
- 14
- Avg merge
- 59m
- Merged PRs (30d)
- 1
Description
For use in callable definitions:
'my-definition' => static fn(Factory $fn) => $fn->create(...);
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 by tracing how callable definitions resolve dependencies and where Factory instances are currently handled. Use the callable example in the issue as the behavior to verify; done means a callable accepting Factory can invoke create() successfully, with coverage added alongside the existing resolution tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100