As the subject implies, how do I go about this I have tried the
modelsExternalLocation = “system/services”,
And the conventions in the ModuleConfig and not getting anywhere.
Luis you mentioned somewhere about services, is this implemented at all and if so how is it used? If not how will it be used, and when will it be ready?
I prefer my services separate to my models, so any help will be appreciated.
well, the location is a setting in the parent. If you would like to add more discovery paths to the bean factory you can do so by calling the bean factory’s methods.
Every time a module is added to the running application, its {modulePath}/model folder is added to the external locations for package scanning automatically. If you would like for the module to add ANOTHER external custom location to the package scanning then you will have to do it by calling a method on the beanFactory plugin once your module loads using the “appendExternalLocations()” method