Community
Participate
Working Groups
There are multiple issues with factory functions / callbacks that need to be addressed: 1. factory functions do not require return. This was regression issue. Was happening quite a bit in nodejs type library. 2. factory functions which were assigned to other variables did not support validation or code assist. 3. factory functions which referenced otype / attributed types did not work. 4. factory function which referenced methods which are overloaded didn't assist the overloads or validate the overloaded scenario. There are multiple test cases for this: 1. an otype 2. a bootstrap 3. a ctype defining 2 different factory functions. 4. a using factory functions example js file.
Factory functions are now working.