Skip to content

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

Description

@michalbundyra

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions