Skip to content

Conversation

@ggurkal
Copy link
Member

@ggurkal ggurkal commented Feb 11, 2021

When we have something like this:

class User {
  users(@Req() req, @Res() res) {
    res.status(200).json({ ok: true });
  }
}

returnValue in the handler waits for a return but it's not coming. So now we check if the headers are already sent to prevent that hanging.

@ggurkal ggurkal merged commit 26da900 into master Feb 11, 2021
@ggurkal ggurkal deleted the fix/manual-response branch February 11, 2021 17:18
@github-actions
Copy link

🎉 This PR is included in version 1.1.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants