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
Bun integration #7733
Comments
Can you expand? What is currently unsupported? Is this issue related? |
Use bun as a run time not using node.
|
I think the issue I linked is related then. It requires Apollo Server to stop using Node APIs. Is that what's preventing AS from running in Bun or is there anything else? A PR to fix #7369 would be welcome. I won't be able to prioritize this work any time soon. |
Here's what I ran into when trying to get Apollo Server running on Bun: |
Query and Mutation work for me in bun v1.0.8, but subscription doesn't work.
|
As mentioned in the comment above and in the duplicate issue here, it would be nice to consider subscriptions as well when resolving this issue (though all subscriptions related work belongs to separate projects, so that would likely be a separate PR to another project). |
Same issue as reported by @michaelbromley. @HuakunShen how did you get queries to work? |
@oliveredsberger It works out of the box. bun src/index.ts I tried running TypeScript directly with bun, or run the compiled JS with bun. Both work. |
Hello, I've just made this: https://github.com/ChrisEnglert/apollo-server-integration-bun Allows using ApolloServer with Bun.serve({...}) API maybe you'd like to consider this for @as-integrations ? |
@ChrisEnglert that would be great! Would you like it to publish under the |
@trevor-scheer yes, sure. I just need an invite I guess ("You don’t have the permission to create public repositories on apollo-server-integrations") |
Support bun in Apollo server.
The text was updated successfully, but these errors were encountered: