apache / apache/dubbo-go

[FEATURE] remove old triple IDL mode switch

Open
#3,452 5 comments 0 reactions 1 assignee Claimed by @chaojixinren View on GitHub
✏️ Feature ❗ Breaking Change 4.0.0
Dominant language
Go
Stars
5k
Forks
1k
Avg merge
2d 8h
Merged PRs (30d)
31

Description

### 背景

当前 `IDLMode` 仍作为 Triple 注册/引用链路中的兼容开关存在,主要用于区分 IDL / non-IDL 模式。随着 old triple `dubbo.apache.org/dubbo-go/v3/protocol/dubbo3` 已移除,这个旧的 IDL mode switch 也不再需要继续保留兼容逻辑。

### 目标

移除 old triple 相关的 IDL mode switch 逻辑,清理不再需要的默认值、分支判断和兼容注释,让 Triple 的模式选择只保留新 Triple 需要的最小语义。

### 范围

- 删除 old triple 兼容路径中遗留的 IDL mode switch 逻辑
- 清理 `IDL = "IDL"` 这类旧默认值表达
- 统一 Triple 的注册/引用行为,避免再依赖旧兼容开关
- 同步更新相关测试和文档注释

### 验收标准

- 仓库中不再存在 old triple 的 IDL mode switch 兼容逻辑
- 相关测试通过
- 代码和注释不再暗示 old triple 仍受支持

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.