Skip to content

fix: disallow synchronous responses #319

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 1 commit into from

Conversation

Skn0tt
Copy link
Contributor

@Skn0tt Skn0tt commented Feb 15, 2022

Currently, our type definitions allow Handler to synchronously return a Response. This is supported by ntl dev, but not by Lambda - so it doesn't actually work when deployed. This PR moves the types in-line with Lambda behaviour. Further explained in #308.

@Skn0tt Skn0tt added the type: bug code to address defects in shipped code label Feb 15, 2022
@Skn0tt Skn0tt requested a review from karagulamos February 15, 2022 07:58
@Skn0tt
Copy link
Contributor Author

Skn0tt commented Feb 15, 2022

oh, wait - #308 was a PR, not an issue 😅 closing in favour of #308

@Skn0tt Skn0tt closed this Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant