* 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
| 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( |
nothing calls this directly
no outgoing calls
no test coverage detected