enisdenjo / graphql-yoga-nestjs

Nest GraphQL GraphQL Yoga driver
https://the-guild.dev/graphql/yoga-server/docs/integrations/integration-with-nestjs
25 stars 11 forks source link

Newcomer to Nestjs with Yoga #76

Closed smolinari closed 1 year ago

smolinari commented 1 year ago

Hi,

I tried to migrate my NestJS Fastify/Mercurius app to Yoga and have run into a strange scenario.

First, I'm getting this noted by the Nest logger, even before everything starts logging for the bootstrap process:

image

Next, everything compiles and the server runs, but nothing is coming from the server. I get headers back, but no response body. No Graphiql, no introspection.

Not sure how to dig further. Any tips would be appreciated.

Scott

smolinari commented 1 year ago

Hmm... Just noticed Mercurius also logs the route mapping (which is new to me, as I also upgraded Nest). So, now even more in the dark. LOL!

Scott

enisdenjo commented 1 year ago

Hey there, sorry to hear you're running in some issues. I'd love to help but I don't know where to start, I need more information about the setup - can you share a reproduction repo, or simply how to run here in this issue? Thanks!

smolinari commented 1 year ago

@enisdenjo - Thanks for the reply. I'm going to let this sit for a while i.e. close the issue as I don't have the time to troubleshoot further. When I get some time, I'll come back and try to give a working reproduction repo.

Scott