I’m experimenting on a node-based addon. There are nodes that need to be able to handle different data types like integers, floats, vectors, bools and strings. These nodes have a dropdown menu that specifies which data type is currently in use. Is there a way to make the sockets update their type to reflect any changes made by this dropdown menu?
The problem i’m facing is that the sockets are created when initializing the nodes, while the data types could change after this initialization.