MCPcopy
hub / github.com/redwoodjs/graphql / DocumentNodeWithMeta

Interface DocumentNodeWithMeta

packages/web/src/apollo/index.tsx:263–267  ·  view source on GitHub ↗

* Use Trusted Documents aka Persisted Operations aka Queries * * When detecting a meta hash, Apollo Client will send the hash from the document and not the query itself. * * You must configure your GraphQL server to support this feature with the useTrustedDocuments option. * * See

Source from the content-addressed store, hash-verified

261 * See https://www.apollographql.com/docs/react/api/link/persisted-queries/
262 */
263 interface DocumentNodeWithMeta extends DocumentNode {
264 __meta__?: {
265 hash: string
266 }
267 }
268
269 // Check if the query made includes the hash, and if so then make the request with the persisted query link
270 const terminatingLink = split(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected