Skip to content

Schema (Stitched or Federation) Adaption Architecture & Caching #1848

Answered by santino
JustusNBB asked this question in General
Discussion options

You must be logged in to vote

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:

// 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 @graphql-mesh/cli installed, which you probably do, giv…

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
11 replies
@JustusNBB
Comment options

@JustusNBB
Comment options

@santino
Comment options

@JustusNBB
Comment options

@JustusNBB
Comment options

Answer selected by JustusNBB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants