The “name” parameter is passed through to builder.buildSimpleDSL() as targetID. TargetID in the name of the object requesting the building. It is only used for error messages in builder.buildDSLDependency().
instance.log.error(“Target: #arguments.targetID# → DSL Definition: #arguments.definition.toString()# did not produce any resulting dependency”);
I would recommend just passing along the name of the component you’re in. If you’re not in a component, I’d just make up a string that makes sense to you. You’ll never see it until the dependency fails to be built and you get the error message
ColdBox Platform Evangelist
Ortus Solutions, Corp