Skip to content

Conversation

dncrews
Copy link
Contributor

@dncrews dncrews commented Feb 9, 2019

Fixes #557.
Fixes #752.

Changes proposed in this pull request:

  • Avoid calling next() in express middleware after res.end(). This causes other middleware to be called afterward, and since this is a rendering middleware, it will throw

[ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client

@CLAassistant
Copy link

CLAassistant commented Feb 9, 2019

CLA assistant check
All committers have signed the CLA.

@huv1k
Copy link
Collaborator

huv1k commented Feb 23, 2019

Thanks for your PR! It will be in the next release 🚀

@huv1k huv1k merged commit 21e6fba into graphql:master Feb 23, 2019
RenovZ pushed a commit to RenovZ/graphql-playground that referenced this pull request Mar 25, 2022
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