larksuite / larksuite/oapi-sdk-java

飞书SDK,飞书部门的 order 都超过长连接DepartmentEvent Java Integer 上限

Open Beginner friendly
#196 0 comments 0 reactions 0 assignees View on GitHub

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.