-
Coming from this issue here, my topic probably better fits into this discussion forum concerning my questions to this one and further use cases, I'll elaborate a bit: Want I want:A few bits of information for a CMS from the infrastructure. And also explorable playgrounds for its full data schema. What I have:OpenAPI schemata for two Entities stitched with a little piece of new business logic (additionalResolver), and two very big OData apis, one of them being MS Graph; Multiple GraphQL Playgrounds, depending on mesh and mockup configurations. I was also planning on using a proxy, built with NestJS, which would allow me to put another layer on top - remodeling/filtering the infrastructure to a new CMS domain schema, a gateway. QuestionsAfter exploring graphql-mesh's capabilities of SDK lib generation, I think it is possible to remove the proxy layer in favor of SDK lib customization (filters full schema by queries by default). Instead I can also use graphql-mesh transformations, like rename, prefix, filter, extend.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
My last question seems to be related to this topic: #1495 - graphql-hive sounds promising! |
Beta Was this translation helpful? Give feedback.
-
Hey @JustusNBB, just a quick note to say that the introspection cache work has been completed. Very briefly these are the two changes you'll need: // package.json, add the following script
"scripts": {
...
"write-introspection-cache": "graphql-mesh write-introspection-cache",
...
} # .meshrc.yaml, add the following property to the root (choose your file name)
introspectionCache: './introspection-cache.json',
sources: ... Note: you need to have Try to experiment with that, I hope it helps you. |
Beta Was this translation helpful? Give feedback.
Hey @JustusNBB, just a quick note to say that the introspection cache work has been completed.
I will add documentation bits hopefully during the weekend, but everything is ready in the latest versions of Mesh, make sure to update all your packages to the latest versions available.
Very briefly these are the two changes you'll need:
Note: you need to have
@graphql-mesh/cli
installed, which you probably do, giv…