Skip to content

docs: make the custom event object example in the README show handler usage #1153

Description

@jlizen

Ref: https://github.com/aws/aws-lambda-rust-runtime#custom-event-objects

Currently we show how to define a custom event object. But, our usage is not realistic, it just deserializes it in main().

Instead we should show the pattern of actually passing the type to a handler, and printing the payload inside or something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions