Describe the bug spring-cloud-openfeign-core-3.1.3.RELEASE

if super class define serialVersionUID and some class extends this super class and use @SrpingQueryMap to send request will throw "Duplicate key" Exception.

Sample

public class A implements Serializable {
      private static final long serialVersionUID = 1L;
}

public class B extends A implements Serializable {
      private static final long serialVersionUID = -4581321211925569500L;

      private String someKey;
}

public interface SomeFeignClient {
      String someFeignClientRquest(@SpringQueryMap B b);
}

@RestController
public class someController{
      @GetMapping("someUri")
      public String someFuntionName(B b){
          return someFeignClientRquest(b);
      }
}

how can i do fix this?

Comment From: RevisitMoon

This problem does not appear in spring-cloud-openfeign-core-2.2.6.RELEASE

Comment From: OlgaMaciaszek

Hello @RevisitMoon, thanks for submitting the issue. Please learn how to properly format code and logs. Please provide a minimal, complete, verifiable example that reproduces the issue - this should be a link with a sample Feign Client app that reproduces the issue, along with the steps to reproduce, the expected result and the actual result.

Comment From: spring-cloud-issues

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Comment From: spring-cloud-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.