fix(ttstream): pingpong method refers to server interface defined in Kitex generation code when streamx is enabled and there are other streaming methods #1642
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
fix
Check the PR title.
(Optional) Translate the PR title into Chinese.
fix(ttstream): 当开启 StreamX 并且存在 Streaming 方法时,Ping-Pong 方法引用 Kitex 生成代码中的服务接口定义
(Optional) More detailed description for this PR(en: English/zh: Chinese).
en:
When StreamX is enabled, if both Streaming method and Ping-Pong method exist in the service, the Streaming method references the Service Interface Definition in the Kitex generated code, while the Ping-Pong method references the Service Interface Definition in the thriftgo generated code, which is not consistent.
After fixing, the Ping-Pong method also references the service interface definition in the Kitex generated code.
Translated with www.DeepL.com/Translator (free version)
zh(optional):
当开启 StreamX 时,若服务中同时存在 Streaming 方法和 Ping-Pong 方法,Streaming 方法会引用 Kitex 生成代码中的服务接口定义,而 Ping-Pong 方法会引用 thriftgo 生成代码中的服务接口定义,两者并不统一。
修复后,Ping-Pong 方法也会引用 Kitex 生成代码中的服务接口定义。
(Optional) Which issue(s) this PR fixes:
(optional) The PR that updates user documentation: