-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Incompatible Return Types when returning generics in Javanica #1328
Comments
@VaultB0Y off the top of my head I would expect that to work as well. Perhaps something about generics aren't working properly. @dmgcodevil - Are you able to take a look? |
Hi, yes, it's definitely a bug, I'm going to fix couple bugs on this weekend and this one too |
Fixed in #1341 |
I am adding Hystrix fallback method, getting some error:Please find below errors and let me know how can i resolve this issue.
|
I am trying to introduce the Hystrix Javanica in the Spring Resttemplate.
I tried to add the hystrix command to getForEntity, but it throws an exception:
If I remove the fallbackMethod in the HystrixCommand, it is working fine. It doesn't work with the fallbackMethod. It's strange that the two return types are the same but throws incompatible return type exception. I suspect there is something wrong with the generics.
The text was updated successfully, but these errors were encountered: