Closed mrigsby closed 1 year ago
Absolutely! Can do. I don't do enough testing... I gotta work on that!
I created a few tests, more than two. In the process of testing I figured out that isStruct() returns true for a CFML component so I added the check for isObject() as well as isCustomFunction() while I was at it.
@grantcopley No problem at all. Thank you for all your hard work on cbwire, it's great. Glad I can contribute.
@mrigsby Released in CBWIRE 3.2. https://www.ortussolutions.com/blog/cbwire-32-released
Thank you for your contributions!
Building on box products' love of conventions, if onMount() does not exist, we check that each parameter is a string, boolean, numeric, date, array, or struct and if they are we populate the component using scope population instead of setters.
131