Questions tagged [graphql-mesh]
11 questions
4
votes
2 answers
What is the difference between GraphQL-Mesh and Apollo-Federation?
What is the difference between GraphQL-Mesh and Apollo-Federation?
I see that mesh support federation, which is kind of confusion?
Is it just two different ways to achieve a unified schema?
Why would you pick one solution rather than the other?

Olivier Refalo
- 50,287
- 22
- 91
- 122
3
votes
0 answers
Graphql-Mesh how to do Authentication with backend services?
I am wondering how do we authenticate graphql-mesh server with backend services that uses oAuth or SAML based authentication. There are examples where I saw use of API-KEY, but how was this API-KEY obtained, do we need to call some method before…

Manju
- 121
- 7
1
vote
0 answers
GraphQL Mesh sharing types across handler or different sources
I am working on a project with GraphQL Mesh.
With one of the use cases I have one openapi endpoint. In there, I need to handcraft a resolver that is using types from that openapi schema definations. I tried using different handlers, but types are…

Danny Cui
- 11
- 2
1
vote
1 answer
graphql mesh execute query programatically
I am using the graphql-mesh as gateway to connect and get data from some internal resources. I want to use this mesh query programatically so from other rest handler I can execute any query from my mesh gateway. Is there any way to do this

Sunny
- 468
- 6
- 22
1
vote
0 answers
Unable to upgrade the @graphql-mesh on latest version, sdkRequesterFactory is causing some issue
I am trying to update the @graphql-mesh with the latest version and the following is the related package needs to update
"@graphql-mesh/cache-file": "^0.8.23",
"@graphql-mesh/cache-inmemory-lru": "^0.6.18",
"@graphql-mesh/cache-redis":…

sandeep pandey
- 106
- 2
- 12
0
votes
0 answers
Why does useGenericAuth not change the context as expected?
Cutting straight to the case: backend project using typescript and graphql.
We have a package /graphql_gateway where all requests are sent to. This gateway uses graphQL mesh to stitch the schemas of our Supabase and our server which is located in…
0
votes
0 answers
How to pass token from Postman to Graphql Mesh
I am trying to build a unified gateway for my over 50 different graphql endpoints that I want to have them accessed over one gateway and I have choosen to use graphqlmesh. I am bit lost, I can hard code the token, on the mesh configuration but that…

justrying
- 69
- 7
0
votes
0 answers
How to add ParseServer to GraphQL Mesh file
I am trying to connect via this documentation of GraphQL Mesh the ParseServer which is a docker container to Mesh via the .meshrc.yaml file. But I am not sure how to send the MASTER Key and Application ID in order to do the proper connection.
What…

Mircea
- 1,671
- 7
- 25
- 41
0
votes
1 answer
Unable to update @graphql-mesh
I have update the @graphql-mesh with to latest version and below are the packages
"@graphql-mesh/config": "^6.1.0",
"@graphql-mesh/graphql": "^0.29.12",
"@graphql-mesh/openapi": "^0.31.2",
"@graphql-mesh/runtime": "0.42.2",
…

Dev
- 120
- 6
0
votes
0 answers
An NPM package extends an interface in the global scope. How to override this type definition?
I use the graphql-mesh package in my project. This library has the following type definition:
declare global {
interface ObjectConstructor {
keys(obj: T): Array;
}
}
This type definition breaks my build. I have errors like…

Mike
- 613
- 1
- 10
- 20
0
votes
1 answer
graphql-mesh: why odata handler throws error when serving my local endpoint
I am trying to follow the example in the GraphQL-Mesh and replace the endpoint with my own to see how it works. Default github example works however when I try to server the mesh for my example, it throws the following error:
$…

Kiran
- 2,997
- 6
- 31
- 62