RE: [coldbox:15104] Re: - Singleton question

I don’t use init args that often, but what you showed SHOULD work providing you have a WireBox mapping named “datasource”. “inject” defaults to true for init arguments, and the mapping ID defaults to the name of the argument. Alternatively, it could look like this:

Thanks!

~BRad