-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Make FeignException truly serializable #1193
Comments
I think we would ok with either option. The simplest would be to investigate what it would take to make |
I have already looked into the internals of I think there are two ways:
The object can never be fully Edit: I can make a pull-request, but I'd like to discuss the best way to go first. |
I think it's reasonable enough for us to change the charset instance variable type, so long as the method interfaces don't change. Are there any other instance variables that pose a problem? |
I have noticed no more problematic classes aside from |
Closed via #1262 |
The class
FeignException
implementsSerializable
inherited from theException
hierarchy, however, it contains the objectfeign.Request
which is notSerializable
itself, therefore further serialization into either JSON or Camunda process variable is impossible (my case), etc...Is possible to either change the internals of
feign.Request
to be serializable itself or amendFeignException
to hold information about the failed request in another way?Version: 10.4.0
The text was updated successfully, but these errors were encountered: