im trying to get a module model from my parent app.
getModel("securityService@Security") gives me "Requested instance not
found: 'securityService@Security'".
locateInstance() in Injector.cfc is trying to scan for a cfc with the
name of "securityService@Security.cfc". that is the name of the model
mapping in my moduleConfig.cfc but the actual name is
"securityService.cfc".
moduleConfig:
modelMappings = {
"securityService@Security" = {
path = "company.modules.security.model.securityService"
}
}
this is upgrading from v3.1.