LianjiaTech / LianjiaTech/bella-openapi
clean code: RealTimeMessage#Payload里的字段定义解耦
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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