Replies: 4 comments 6 replies
-
I think Nest.js uses Express or Fastify under the hood. So you can probably use our integration recipes to integrate Mesh endpoint to your existing Nest.js application; |
Beta Was this translation helpful? Give feedback.
-
OK, I tried to test the approach you suggested. I created a new nest.js app and created a
But when I'm trying to run the project I got this error:
I tried to check the So I installed all the missing packages with the command below:
Now the app is running and I can see the base hello world message from the nest at
@ardatan Do you have any suggestions based on my steps? |
Beta Was this translation helpful? Give feedback.
-
I have a new issue with integrating mesh and nest.js, currently, I have a custom resolver in Mesh like this:
I try to turn this code to a resolver function in nest.js with decorators to use dependency injection (for example for authentication part as I have a separate module to handle authentication and I want to reuse that module rather than duplicate everything in my custom resolver)
I have no idea how I can write this custom resolver in nest.js I guess we need some documentation for the Nest.js integration to show what is the standard way of using Mesh + Nest.js 🤔 |
Beta Was this translation helpful? Give feedback.
-
Maybe related: #4078 |
Beta Was this translation helpful? Give feedback.
-
Hi guys,
I want to run
.mesh
artifacts inside a Nest.js project in a specific route for example:/mesh
and have some GraphQL subgraphs in other routes for example/subgraph1
and add these subgraphs and some other REST endpoints as a data source for mesh. Is it possible?Beta Was this translation helpful? Give feedback.
All reactions