Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleModel::createModule defaults config as application.config.php #50

Open
michalbundyra opened this issue Jan 10, 2020 · 0 comments
Open

Comments

@michalbundyra
Copy link
Member

https://github.com/zfcampus/zf-apigility-admin/blob/master/src/ZF/Apigility/Admin/Model/ModuleModel.php#L119

The ability to change which config file a new module is added to, e.g. development.config.php or generated.config.php, would be very helpful.

I don't think anything should ever modify the application.config.php because you'll need to sed out the line if you want to regenerate the module.

Any generated module should be able to be managed by any config file. In our case we generate the API dynamically on each installed machine. Being able to do this by removing the config/generated.config.php file and the /module/Api directory is much easier than removing Api from the module list.


Originally posted by @TomHAnderson at zfcampus/zf-apigility-admin#116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant