Skip to content
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

Rename payload to event #115

Merged
merged 1 commit into from
Jun 7, 2020

Conversation

fabianfett
Copy link
Member

This is the continuation of my work in #112. I've moved the branch to my fork though, because of reasons.

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.

@tomerd tomerd merged commit 0008e59 into swift-server:master Jun 7, 2020
@fabianfett fabianfett deleted the ff-rename-payload-to-event branch June 7, 2020 15:23
@tomerd tomerd added this to the 0.2.0 milestone Jun 17, 2020
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.

2 participants