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

Adjust support for Lambda URLs #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Kwaidan00
Copy link

I want to merge this change because it allows to use ariadne-lambda for apps accessible by Lambda URL. It was just a little adjustment since AWS docs says:

The request and response event formats follow the same schema as the Amazon API Gateway payload format version 2.0

source

However, it has another policy for missing values and it could exclude some fields from the JSON. My change uses .get to safely handle it.

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.

1 participant