You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works well with GET methods, but in POST methods, the subclassed option is identified as a duplicated payload because the following piece of code checks only for instances of Request.Options and the creation of the client fails with Method has too many Body parameters.
I have a class that extends
Request.Options
so I can pass additional parameters to a custom Feign client.And in my Feign client I use it like this:
It works well with GET methods, but in POST methods, the subclassed option is identified as a duplicated payload because the following piece of code checks only for instances of
Request.Options
and the creation of the client fails withMethod has too many Body parameters
.feign/core/src/main/java/feign/Contract.java
Line 120 in 52dc2df
I believe the previous check should also check for subclasses of
Request.Options
.The text was updated successfully, but these errors were encountered: