Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoking method involving Generic Type doesn't work as intended #39

Closed
wysohn opened this issue Nov 10, 2017 · 1 comment
Closed

Invoking method involving Generic Type doesn't work as intended #39

wysohn opened this issue Nov 10, 2017 · 1 comment
Assignees
Labels
bug Entire or partly plugin is not working as intended.

Comments

@wysohn
Copy link
Member

wysohn commented Nov 10, 2017

We expect String to be automatically translate into appropriate Enum value, but if the Enum field has initialized through Generic Type, Trigger Reactor seems to not identifying the argument type at all.

#38

@wysohn wysohn added the bug Entire or partly plugin is not working as intended. label Nov 10, 2017
@wysohn wysohn self-assigned this Nov 10, 2017
@wysohn wysohn added the invalid label Nov 10, 2017
@wysohn
Copy link
Member Author

wysohn commented Nov 10, 2017

Due to the type erasure, it's not possible to know whether the method parameter type is Enum or not. Lets just add a function to create Enum value manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Entire or partly plugin is not working as intended.
Projects
None yet
Development

No branches or pull requests

1 participant