OpenFeign / feign-form

Open Feign form encoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

POJO Writer does not handle Date fields, and does not fall back to the delegate writer like the MulitpartFormContentProcessor does

WillWolfe89 opened this issue · comments

MultipartFormContentProcessor falls back to the Delegate Writer if none of the other writers can handle a field. The PojoWriter loops the other writers to handle fields in an object, but it does not fall back to the Delegate Writer.
I solved this by getting the MultipartFormContentProcessor out and adding the DelegateWriter to the list, so that it is passed to the PojoWriter instead of just being the fallback option