{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/436","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/436/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/436/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/436/events","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/436","id":94782369,"number":436,"title":"Update feign version to 8.6.0 to support interface hierarchies","user":{"login":"jmnarloch","id":1581045,"avatar_url":"https://avatars.githubusercontent.com/u/1581045?v=3","gravatar_id":"","url":"https://api.github.com/users/jmnarloch","html_url":"https://github.com/jmnarloch","followers_url":"https://api.github.com/users/jmnarloch/followers","following_url":"https://api.github.com/users/jmnarloch/following{/other_user}","gists_url":"https://api.github.com/users/jmnarloch/gists{/gist_id}","starred_url":"https://api.github.com/users/jmnarloch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmnarloch/subscriptions","organizations_url":"https://api.github.com/users/jmnarloch/orgs","repos_url":"https://api.github.com/users/jmnarloch/repos","events_url":"https://api.github.com/users/jmnarloch/events{/privacy}","received_events_url":"https://api.github.com/users/jmnarloch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-13T18:31:54Z","updated_at":"2015-07-13T20:44:24Z","closed_at":"2015-07-13T20:44:23Z","body":"What's is your opinion on enabling in Feign possibility to scan base interfaces for declared client methods?\r\n\r\nPossible use case would be to have for instance some kind of base client contract for instance:\r\n```\r\ninterface CrudClient {\r\n\r\n  @RequestMapping(method = RequestMethod.POST, value = \"/\")\r\n  void save()\r\n\r\n  @RequestMapping(method = RequestMethod.PUT, value = \"/\")\r\n  void update()\r\n\r\n  ...\r\n}\r\n```\r\n\r\nThanks to that it would be possible to aggregate the common client methods in base interfaces and afterwards \"re-use\" them in concreate clients.\r\n\r\nI'd already made a bit of research in this area and I know that the type ispection is being done in feign-core by ReflectiveFeign, although I'm willing to prepare the push request that would introduce support for this feature."},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/comments/121051821","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/436#issuecomment-121051821","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/436","id":121051821,"user":{"login":"jmnarloch","id":1581045,"avatar_url":"https://avatars.githubusercontent.com/u/1581045?v=3","gravatar_id":"","url":"https://api.github.com/users/jmnarloch","html_url":"https://github.com/jmnarloch","followers_url":"https://api.github.com/users/jmnarloch/followers","following_url":"https://api.github.com/users/jmnarloch/following{/other_user}","gists_url":"https://api.github.com/users/jmnarloch/gists{/gist_id}","starred_url":"https://api.github.com/users/jmnarloch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmnarloch/subscriptions","organizations_url":"https://api.github.com/users/jmnarloch/orgs","repos_url":"https://api.github.com/users/jmnarloch/repos","events_url":"https://api.github.com/users/jmnarloch/events{/privacy}","received_events_url":"https://api.github.com/users/jmnarloch/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T20:44:23Z","updated_at":"2015-07-13T20:44:23Z","body":"Pull request has been merged so from now on it's possible to have inherited interfaces as a feign clients"}}