LianjiaTech / LianjiaTech/bella-openapi

clean code: RealTimeMessage#Payload里的字段定义解耦

Open
#263 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
239
Forks
44
PR merge metrics
No merged PRs in 30d

Description

目前Payload里即有response的字段,也有初始化连接所使用的参数,最好拆分一下。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate RealTimeMessage#Payload and inspect how its response fields and connection-initialization parameters are used. Determine the intended separation from those call sites; done means the two responsibilities are decoupled without changing their behavior, with relevant tests passing if they exist.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.