Getting no response when pointing at multiple graphql servers with operationHeaders. #2693
Unanswered
Davenporten
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Could you create an issue with this reproduction on CodeSandbox? So we can move on better :) |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So I've been working with graphql-mesh for a little while now and a problem just popped up that I don't really understand. So I've tried to parse down my .meshrc to the bare minimum:
and my config is
on Windows 10.
When I build this on my actual graphql servers with
I get
Now if I take out one of the handlers, it works. If I take out the
operationHandlers
it works on both handlers, it works.The endpoints that my graphql-mesh instance is pointed at are pretty big and complex, so I tried pointing it a extremely simple, basically identical servers:
and
and the build worked. In fact, the
Mesh - StitchingMerger: Fetching Apollo Federated Service SDL for ...
doesn't even come up. So there must be something in the schemas for my actual graphql servers (and I can't share them here) that is requiring this step to be run. But even if it runs I don't understand why there is no response. The query that is being run isand this returns fine when run in the playground.
Beta Was this translation helpful? Give feedback.
All reactions