gavinbaumanis
12/16/2023, 10:11 AMrequired cfc.model.myModelCFC theModel
However because of the "mapping" I created it is actually being seen / created as;
secondApp.cfc.model.modelCFC
and thus I am now getting a type mismatch error as a result of the differing "paths".
Initially I thought of just removing the type from the argument... but that just feels completely wrong.
And I also thought about duplicating the object in the correct namespace - but was wondering if there was a "smarter" / neater / more elegant way to go about getting
secondApp.cfc.model.myModelCFC
to be seen as an appropriate object to be passed into a method where
cfc.model.myModelCFC
Is actually what is expected?
Thanks.Cage S
12/16/2023, 5:05 PMrequired cfc.model.myModelCFC theModel instead of just required myModelCFC theModel and doing an import of model(s) via something like import cfc.model.*; in file