RE: [coldbox:16374] [ColdBox 3.5.2] wirebox: getInstance(dsl="something") requires name attribute?

Sorry your E-mail just came through. Stupid Google groups randomly block things they think are spam and there’s no way to turn it off.

Yes, you are correct that can be done. Honestly, it’s probably never came up because not many people call getInstance() directly with DSL. If I were to fix it, I would just default the targetID to “unknown” or something when using DSL. I would suggest a ticket and/or a pull request :slight_smile:

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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