Skip to content

[core] Improve DX by providing a Codable API for Streaming Lambda #527

Open
@sebsto

Description

@sebsto

Currently, users of LambdaStreamingHandler only have one protocol available that accepts a event: ByteBuffer

responseWriter: some LambdaResponseStreamWriter,

Contrary to regular handlers, it's up to the developer to convert the ByteBuffer to a Codable struct in the very likely case the function accepts a JSON event.

I propose to add Codable support to Streaming lambda, just like we did for non streaming Lambda handlers.

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomerskind/enhancementImprovements to existing feature.size/SSmall task. (A couple of hours of work.)🆕 semver/minorAdds new public API.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions