Skip to content

fix(core): handle nil serializable and config, remove duplicate return#185

Open
vegerot wants to merge 1 commit into
larksuite:v3_mainfrom
vegerot:pr185
Open

fix(core): handle nil serializable and config, remove duplicate return#185
vegerot wants to merge 1 commit into
larksuite:v3_mainfrom
vegerot:pr185

Conversation

@vegerot

@vegerot vegerot commented Feb 12, 2026

Copy link
Copy Markdown
  • Add nil check for serializable in payload() to use default serialization
  • Add nil check for config in Request() to return error and initialize missing components
  • Remove duplicate return statement in AtUser() method
  • Update struct tags in model builders to omit JSON fields
  • Expand test mock structs to include additional fields

@CLAassistant

CLAassistant commented Feb 12, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

- Add nil check for serializable in payload() to use default serialization
- Add nil check for config in Request() to return error and initialize missing components
- Remove duplicate return statement in AtUser() method
- Update struct tags in model builders to omit JSON fields
- Expand test mock structs to include additional fields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants