AOT factory creation CLI command for ReflectionBasedAbstractFactory
mapped factories
#171
Labels
Milestone
ReflectionBasedAbstractFactory
mapped factories
#171
Feature Request
Summary
Currently, there are CLI commands around where it is possible to create mezzio handler factories and stuff by using reflection. I was wondering if it would also be possible to provide a CLI command which takes runtime
config
from container and creates factories (along with a mapping-file such asmezzio-tools
) using the same logic asReflectionBasedAbstractFactory
.This would enable projects to use a more "generic" runtime factory during development while enabling devs to run that AoT CLI command in CI builds to auto-generate factories. This will remove the reflection stuff during runtime and increases performance with just running a CLI command (and maybe a bit of configuration, i.e. to provide different other PluginManager configuration keys such as
validators
, etc. - which can also be injected to the config from within our own components).WDYT?
The text was updated successfully, but these errors were encountered: