larksuite / larksuite/oapi-sdk-java
飞书SDK,飞书部门的 order 都超过长连接DepartmentEvent Java Integer 上限
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 310
- Forks
- 115
- PR merge metrics
- No merged PRs in 30d
Description
.onP2DepartmentCreatedV3(new ContactService.P2DepartmentCreatedV3Handler() {
@Override
public void handle(P2DepartmentCreatedV3 event) throws Exception {
DepartmentEvent object = event.getEvent().getObject();
}
})
DepartmentEvent 的order为int,实际上飞书通讯录的order可以超出int 大小,建议改成string
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
Search the Java SDK for the DepartmentEvent class and its order field, then inspect how the department event payload is modeled and used. Update the representation so values beyond the Java Integer range are preserved, and run the relevant build or tests to confirm the SDK still compiles and handles department events.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 75/100