aws / aws/aws-lambda-java-libs

Add Nullable attributes to events for kotlin interop

未關閉
#189 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
548
分支
241
平均合併
2 天 5 分鐘
30 天內合併 PR
11

描述

APIGatewayEvents (and possibly other types) aren't annotated as having nullable fields, leading to confusing null pointer exceptions from the kotlin side of the world. Proper annotations would make it less painful to use `aws-lambda-java-libs` for developers, since it's impossible to know without trial and error what is or can be null.

貢獻指南

開啟貢獻指南

研究方向

Start by locating APIGatewayEvents and reviewing the other event types in aws-lambda-java-libs to determine which fields can be null. Check how the project currently represents nullability and how Kotlin consumes these Java classes. Done means nullable fields are consistently annotated across the relevant event types and Kotlin callers no longer need to discover nullability through runtime failures.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java, kotlin
領域
api, backend
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。