-
By default, GraphQL Mesh uses Playground as the main schema documentation. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
You can provide any kind of express middleware in ".meshrc.yml" under "handlers" property of "serve". https://graphql-mesh.com/docs/recipes/as-gateway https://github.com/APIs-guru/graphql-voyager#express in .meshrc.yml serve:
handlers:
- path: /voyager
method: GET
handler: ./voyager.js in voyager.js const { express: voyagerMiddleware } = require('graphql-voyager/middleware');
module.exports = voyagerMiddleware({ endpointUrl: '/graphql' }); |
Beta Was this translation helpful? Give feedback.
-
@ardatan It seems this |
Beta Was this translation helpful? Give feedback.
You can provide any kind of express middleware in ".meshrc.yml" under "handlers" property of "serve".
https://graphql-mesh.com/docs/recipes/as-gateway
https://github.com/APIs-guru/graphql-voyager#express
in .meshrc.yml
in voyager.js