question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GraphQLServer.start miss a host argument

See original GitHub issue

I found no place to listen to specific ip address in the following line

combinedServer.listen(this.options.port, () => {

indeed the underline express server’s listen method can accept the second parameter as the host to listen to, so adding a new option host for GraphQLServer.start() is appreciated, like this

combinedServer.listen(this.options.port, this.options.host, () => {

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
purplemanacommented, Nov 5, 2018

Is there any help required to get this merged? This feature is quite needed.

2reactions
joealdencommented, Jan 5, 2019

Commenting to keep this open as it is a valid issue that should not be closed. It even has a PR, #399.

Read more comments on GitHub >

github_iconTop Results From Across the Web

API Reference: ApolloServer - Apollo GraphQL Docs
Takes an options object as a parameter. ... If it's present, Apollo Server can safely skip parsing and validating the operation, thereby improving ......
Read more >
Passing Arguments - GraphQL
The exclamation point in Int! indicates that numDice can't be null, which means we can skip a bit of validation logic to make...
Read more >
Missing Argument with Prisma and Apollo Graphql #11422
I am trying to do a simple mutation from Apollo Graphql into my Postgres database via prisma. This is my code in the...
Read more >
Understanding Queries in GraphQL - DigitalOcean
GraphQL is based on asking for specific fields on objects. Therefore, we can't successfully talk about queries without talking about fields.
Read more >
@skip and @include Directives - GraphQL - Dgraph
@skip and @include directives can be applied to query fields. They allow you to skip or include a field based on the value...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found