Adam Cameron
myObj = new Component("path/to/Some.cfc"), as per https://helpx.adobe.com/uk/coldfusion/using/whats-new-coldfusion-2018.html#new:~:text=empObj%3Dnew%20component(%22path/to/employee.cfc%22)Adam Cameron
Mark Takata (Adobe)
04/29/2024, 4:09 PMAdam Cameron
new SomeClass() or createObject("string.path.to.SomeClass").
I mean somewhere someone raised a ticket for it as a new feature, a product owner and technical lead discussed it and went "yeah this is Good use of our time because [reasons]".
I'm wondering what the [reasons] were.
They should be on the ticket, right?Tim
04/30/2024, 2:57 PMcreateObject where we have to convert all the slashes in a file path to dots to create the object. Taking out that step would simplify things.
But why they didn't just allow slashes in createObject or new isn't really clear to me.mtbrown
05/10/2024, 12:48 PM