RE: [coldbox:17039] Is Wirebox capable of doing this or is there another way I can do this?

So to clarify, you want to be able to define a mapping in your root app which will return object A, but “override” that mapping ID in a module so that when the module asks for it, it gets object B instead?

getInstance(“mappingName”) → returns object A in root app
getInstance(“mappingName”) → returns object B in module 1
getInstance(“mappingName”) → returns object C in module 2

Is that right, or did a I miss the bus?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

In a sense, but I am not worried about Module 2 with object C scenario. The Module will be a sort of patch, to the existing core application. Hence If I remove the Module all then goes back to normal.