I'm connecting a component right now that has the same name for two properties, but they are of different type (one is boolean and the other is an instance swap).
The boolean is for toggling visibility of an icon, and the instance swap is for choosing the icon. Using getBoolean("prop name") works, but then getInstanceSwap("prop name") returns undefined.
I know it's probably not the best idea to have multiple properties with the same name, even if they are different types, but it would be nice we could have the getters be a little more idiot proof 🙇
Code Connect CLI version: 1.4.3
I'm connecting a component right now that has the same name for two properties, but they are of different type (one is boolean and the other is an instance swap).
The boolean is for toggling visibility of an icon, and the instance swap is for choosing the icon. Using
getBoolean("prop name")works, but thengetInstanceSwap("prop name")returnsundefined.I know it's probably not the best idea to have multiple properties with the same name, even if they are different types, but it would be nice we could have the getters be a little more idiot proof 🙇
Code Connect CLI version: 1.4.3