You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are enums supported? Tried to inject one with .injectClass but always turned out null. If they're not supported, are there plans to support it in the future? Would be really handy for some of my use cases.
The text was updated successfully, but these errors were encountered:
Hi @newk5 ! Enum fields are not currently supported due to a shortcoming in our API (we do not register properties on injected classes). This is a good future enhancement that we will add to the TODO-list.
For now, you could use the ordinal() method in conjunction with integer passing as a work-around for sharing enum constant information with the Java side...although it is not perfect.
Are enums supported? Tried to inject one with .injectClass but always turned out null. If they're not supported, are there plans to support it in the future? Would be really handy for some of my use cases.
The text was updated successfully, but these errors were encountered: