can I use envelop
to replace apollo-server-micro
& apollo-server-core
?
#1430
-
apollo server gives a lot of errors randomly. so can anything |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @deadcoder0904, envelop is a plugin system for graphql-js that can be used with a variety of GraphQL servers. If you want to replace apollo-server with another GraphQL server you should look at GraphQL Yoga, which is our recommended way of using envelop! Yoga is JavaScript platform-agnostic and runs on serverless (e.g. AWS Lambda), the edge (e.g. cloudflare workers), deno, Node.js, and even the browser! We have a full tutorial for getting started with Yoga and a guide for migrating from Apollo Server to GraphQL Yoga. |
Beta Was this translation helpful? Give feedback.
Hey @deadcoder0904, envelop is a plugin system for graphql-js that can be used with a variety of GraphQL servers. If you want to replace apollo-server with another GraphQL server you should look at GraphQL Yoga, which is our recommended way of using envelop! Yoga is JavaScript platform-agnostic and runs on serverless (e.g. AWS Lambda), the edge (e.g. cloudflare workers), deno, Node.js, and even the browser! We have a full tutorial for getting started with Yoga and a guide for migrating from Apollo Server to GraphQL Yoga.