Programatic connection between global enum and enum instance in a View Model Instance

Hi all!

I need help with the following:

1. I have an enum called “Picker” with two properties - prop1 and prop2
2. I have a viewmodel where I I added the Picker enum and called MyPickerEnum

now, at runtime,:
I can find the global enums using `riveInstance.enums()`
which will show me the an array of enums that will list “Picker”
I can also access the enum inside the view model using for example `riveInstance.defaultViewModel().properties`

and it will list the enum amongst other properties of the default view model

or I can go further and use `riveInstance.defaultViewModel().instanceByName(“name”).enum(“My Picker Enum”)`

this will get me the possible values for the enum and the name of the enum in the view model instance.

but I can’t find anywhere in the view model or view model Instance where it would say that enum(Picker) = enum(My Picker Enum)

I can’t find a programmatic way to establish that “My Picker Enum” is an instance of the global enum (Picker)

Am I missing something obvious? (which is in all likelihood the case)

thanks in advance 😃