WIP: Open Feign must support multiple interface inheritance
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先,查看 issue 中提到的 OpenFeign Contract.BaseContract 功能,以及此仓库如何使用 OpenFeign 依赖项。检查当前的继承行为和集成点。完成的标准是 Spring Cloud OpenFeign 支持多级、多接口继承,同时不破坏单继承兼容性,并确定依赖项更新。
由索引模型根据 Issue 内容生成。
描述
WIP Notice
I am currently working on this feature request across multiple repositories, so this this will be updated multiple times. Once finished, this notice will be removed. As soon as this notice gets removed, there will be a PR for spring-cloud-openfeign.
Problem
The current problem with OpenFeign is that one cannot inherit from multiple interfaces. And while the current contract,, i.e. single inheritance of annotated interfaces, should be supported in a backward compatitble way, I see no reason why one should prevent the user to inherit from multiple interfaces or marker interfaces even, and recursively so.
Describe the solution you'd like
Feign client interfaces should support multi-level, multiple inheritance.
Describe alternatives you've considered
There are no alternatives unless you come up with a better solution to the problem.
Additional context
I am currently working on a PR for the open feign project to incorporate such measures, meaning that the Contract.BaseContract functionality will be extended so that the IMO artificial restriction on inheritance will be removed altogether.
This will require no changes to spring-cloud except for updating the openfeign dependency.
- 主要语言
- Java
- 星标
- 1.3k
- 派生
- 835
- 平均合并
- 19 小时 49 分钟
- 30 天内合并 PR
- 24
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
spring-cloud/spring-cloud-openfeign 的其他 Issue
-
question
难度 4/5 3-5 天 新手友好度 35/100
spring-cloud/spring-cloud-openfeign#1392 · 1 条评论 ·
维护者通常 1 天内回复
-
FeignClientsConfiguration$MicrometerConfiguration.class cannot be opened because it does not exist未关闭feedback-provided
难度 4/5 3-5 天 新手友好度 35/100
spring-cloud/spring-cloud-openfeign#1379 · 5 条评论 ·
维护者通常 1 天内回复
-
waiting-for-triage
难度 3/5 1-2 天 新手友好度 57/100
spring-cloud/spring-cloud-openfeign#1344 · 2 条评论 ·
维护者通常 1 天内回复
-
waiting-for-triage
难度 4/5 3-5 天 新手友好度 45/100
spring-cloud/spring-cloud-openfeign#1343 ·
维护者通常 1 天内回复
-
waiting-for-triage
难度 3/5 1-2 天 新手友好度 45/100
spring-cloud/spring-cloud-openfeign#1340 · 1 条评论 ·
维护者通常 1 天内回复
查看 spring-cloud/spring-cloud-openfeign 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
QuicksilverMC/Argentum#31 ·
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
navikt/mock-oauth2-server#1129 ·
维护者通常 1 天内回复
-
bug main ui
难度 2/5 1-3 小时 新手友好度 65/100
openhab/openhab-webui#4600 ·
维护者通常 4 天内回复
-
26.4 area: tags enhancement
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
`DeepSeekChatModel` streaming returns no content when chunks have no `id`可能已有人在做 @lejuho 今天认领。 未关闭status: waiting-for-triage
难度 2/5 1-3 小时 新手友好度 78/100
spring-projects/spring-ai#7214 ·
维护者通常 2 天内回复