RE: [coldbox:17607] [Coldbox-3.5.3] Model not showing up as expected when injected into plugin

model and id do the same thing. Check out the case statement around like 327 of coldbox.system.ioc.builder.cfc

// WireBox Internal DSL for models and id
case “model” : case “id” : { refLocal.dependency = getModelDSL(argumentCollection=arguments); break; }



ColdBox Platform Evangelist
Ortus Solutions, Corp

ColdBox Platform:

Cheers, Brad I did say from what I could tell. When you look at ContentBox Luis uses the ID mainly when using ones by name, and without when using their class name.

So that’s why I made the Assumption.

Sometimes, and I can’t tell you why but I have had to change the Application name for some of the DI to work correctly, when adding new injections.

Andrew Scott