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

AS2: Move default options into listen function and add bodyParserConfig #1059

Merged
merged 6 commits into from
May 11, 2018

Conversation

evans
Copy link
Contributor

@evans evans commented May 11, 2018

This moves the options for the default apollo-server from the constructor into the listen function. The goals is to keep the server constructor the same across all environments. Additional functionality is added in other function, such as listen or registerServer.

Additionally, @thepwagner found a bug, where registerServer was not called when disableHealthCheck was true on this line and requested the ability to configure the body parser of express.

@evans evans added this to the Release 2.0 milestone May 11, 2018
@evans evans force-pushed the server-2.0/default-impl-params branch from 70ef7b3 to 685f85e Compare May 11, 2018 06:00
@thepwagner
Copy link
Contributor

woot! excited for @beta.

@evans evans merged commit d43df53 into refactor-2.0 May 11, 2018
@evans evans deleted the server-2.0/default-impl-params branch May 11, 2018 18:07
@evans evans mentioned this pull request Jun 1, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants