You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, today I put a closure in my module.config.php to write a factory and apigility put a wrong code in my module.config.php break the entire application.
I do not know if you already solved this issue but in order to help others I would like to answer it.
It sounds like a cache issue. Apigility has enabled the option 'config_cache_enabled'.
But this option does not work when you have closure in your config because it is not possible to cache closure.
The solutions seems to create a factory class instead of a closure. You should not disable the config in order to fit your need because it is not a good way to work on zf2.
Hi guys, today I put a closure in my module.config.php to write a factory and apigility put a wrong code in my module.config.php break the entire application.
The factory:
The factory after some save operation on apigility ui:
Originally posted by @edipoReboucas at zfcampus/zf-apigility-admin#236
The text was updated successfully, but these errors were encountered: