aws / aws/aws-lambda-java-libs

Add Nullable attributes to events for kotlin interop

Aberta
#189 2 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Java
Estrelas
548
Forks
241
Merge médio
2d 5min
PRs com merge (30d)
11

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
java, kotlin
Domínio
api, backend
Tipo de issue
Funcionalidade
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.