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

Creating apollo server with http.createServer without any libraries #1078

Closed
1 of 5 tasks
yuraxdrumz opened this issue May 21, 2018 · 1 comment
Closed
1 of 5 tasks
Labels
⛲️ feature New addition or enhancement to existing solutions

Comments

@yuraxdrumz
Copy link

yuraxdrumz commented May 21, 2018

  • has-reproduction
  • feature
  • docs
  • blocking
  • good first issue

Hey, I am building a web server framework and I wanted to incorporate a declarative wrapper around graphql with apollo server, I searched the docs and everywhere on Github on how to add it to http.createServer and I only found examples with express.
I saw in the source code this piece of code with express, It would work great in my framework, the problem is I do not have next, so i get an error, otherwise, it works if I mock next.

screenshot_3

Is it possible to create something similar without next and all the extra dependencies ?
Thanks in advance, love your project!

@ghost ghost added the ⛲️ feature New addition or enhancement to existing solutions label May 21, 2018
@evans
Copy link
Contributor

evans commented May 30, 2018

@yuraxdrumz That's possible with the new Apollo Server 2 beta. Check out the tests for the core library, which uses a regular httpServer.

If you would like to contribute to the main line of apollo server integrations, #1088 is a great place to start

@evans evans closed this as completed May 30, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
⛲️ feature New addition or enhancement to existing solutions
Projects
None yet
Development

No branches or pull requests

2 participants