Skip to content

Add AppSyncLambdaAuthorizer#642

Merged
armanbilge merged 9 commits into
typelevel:mainfrom
Yummy-Yums:AppSyncEvent
Jul 6, 2026
Merged

Add AppSyncLambdaAuthorizer#642
armanbilge merged 9 commits into
typelevel:mainfrom
Yummy-Yums:AppSyncEvent

Conversation

@Yummy-Yums

@Yummy-Yums Yummy-Yums commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

#48 : adds AWS Lambda event type AppSynclambdaAuthorizer

@Yummy-Yums

Copy link
Copy Markdown
Contributor Author

@armanbilge pleas review

@Yummy-Yums Yummy-Yums changed the title feature: added AppSynclambdaAuthorizer feature: added AppSyncLambdaAuthorizer Jun 19, 2026

@Chingles2404 Chingles2404 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great! Thanks for your hard work!

@armanbilge armanbilge left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, noticed one thing!

@Yummy-Yums Yummy-Yums requested a review from armanbilge June 29, 2026 22:23
Comment on lines +30 to +34
assertEquals(parsed_event.authorizationToken, "ExampleAUTHtoken123123123")
assertEquals(parsed_event.requestContext.accountId, "111122223333")
assertEquals(parsed_event.requestContext.apiId, "aaaaaa123123123example123")
assertEquals(parsed_event.requestContext.requestId, "f4081827-1111-4444-5555-5cf4695f339f")
assertEquals(parsed_event.requestHeaders(CIString("header")), "value")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry, one last comment (it applies to all of your PRs): instead of checking each field individually, could we construct an instance of the object and assert its equality like in the existing tests? I think this is a preferable approach because we can be confident we didn't forget to test any fields, etc.

assertEquals(event.as[S3Event].toTry.get, result)

@Yummy-Yums Yummy-Yums requested a review from armanbilge July 3, 2026 17:00
@armanbilge armanbilge changed the title feature: added AppSyncLambdaAuthorizer Add AppSyncLambdaAuthorizer Jul 6, 2026
@armanbilge armanbilge merged commit 44b325d into typelevel:main Jul 6, 2026
8 checks passed
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