Current behaviour forces to duplicate the same factories for different types.
Code above will be the same for a factory that produces elements and for a factory that produces components.
Possible Solution
A possible solution is creating toAutoNamedFactory method in container. I've created PR where I implemented this solution. You can review it here
The text was updated successfully, but these errors were encountered:
Expected Behavior
Auto named factory functionality allows skipping the next code boilerplate code:
Current Behavior
Current behaviour forces to duplicate the same factories for different types.
Code above will be the same for a factory that produces elements and for a factory that produces components.
Possible Solution
A possible solution is creating toAutoNamedFactory method in container. I've created PR where I implemented this solution. You can review it here
The text was updated successfully, but these errors were encountered: