Skip to content

Property value getters don't seem to consider type #385

@adbutterfield

Description

@adbutterfield

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions