-
Notifications
You must be signed in to change notification settings - Fork 113
README.MD SimpleLambdaHandler example with events. #286
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
Conversation
Change the SQS.Event to the valid SQSEvent type
Can one of the admins verify this patch? |
12 similar comments
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
@swift-server-bot test this please |
thanks @fitomad |
Changed the
SQS.Event
type to the existingSQSEvent
typeMotivation:
Try to run the mentioned code snippet throws a non existing type error.
Because the AWS events are developed in a separated package could takes some times to find the error to a developer trying to use this snippet as base for his/her code.
Also, the
Void
returning type has been removed from code, following the Apple style guideline related to the use ofVoid
.Modifications:
At README.MD file, change the snippet to use the right type and
Void
returning type removed to follow the Apple style guideline.Result:
The snippet