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

Add support for Enum<?> as Feign client parameters for multipart payload #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

reta
Copy link

@reta reta commented Aug 2, 2019

Hey guys,

We've run into an issue recently when multipart endpoint uses Java's enumeration (Enum<?>) for some of the parameter. The MultipartFormContentProcessor does recognize the Enum as the POJO and tries to convert it into the Map, ending up with the empty one. As such, all Enum<?> parameters are not being included into the request.

The fix is simple (add EnumWriter), the test cases is provided, easy to reproduce.
Thank you.

Best Regards,
Andriy Redko

@reta
Copy link
Author

reta commented Aug 20, 2019

Sorry @xxlabaza, may you take a look please? Thank a lot :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant