Skip to content

Rename payload to event #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Conversation

fabianfett
Copy link
Member

@fabianfett fabianfett commented Jun 4, 2020

Motivation

As @Andrea-Scuderi has correctly pointed out here, we should follow with our naming AWS closely. Currently the inputs name on all our handler protocols is payload, whereas AWS uses event in nearly all its languages:

Only exception:

To ensure general documentation is easier to understand, I would vote that we get in line with AWS, as we did here.

Changes

This pr get's our naming in line with AWS' naming.

  • Rename payload to event

I'm well aware that this is a breaking change. But I think we should get those breaking changes out as soon as possible. The barrier for breaking changes will only increase every day by now.

Open ends

There are some payloads left to fix, especially in the Documentation. I'll get those out, if we decide this is something we want to pursue.

@fabianfett fabianfett requested a review from tomerd June 4, 2020 07:51
@fabianfett fabianfett force-pushed the ff-rename-payload-to-event branch from d44fae4 to 266b187 Compare June 4, 2020 08:02
Copy link
Contributor

@ktoso ktoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense 👍

@tomerd
Copy link
Contributor

tomerd commented Jun 6, 2020

@fabianfett @Andrea-Scuderi good catch. lets fix the examples + docs and merge this before we tag 0.1.1?

@tomerd tomerd added this to the 0.1.1 milestone Jun 6, 2020
@fabianfett
Copy link
Member Author

Work continues in #115.

@fabianfett fabianfett closed this Jun 7, 2020
@fabianfett fabianfett deleted the ff-rename-payload-to-event branch June 7, 2020 12:20
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.

3 participants