Skip to main content
Version: v9.0.0

gqlRequestKeyMapper

Cache and query key of a request. The variables are a part of it: the same operation with other variables is another query, with its own cached data and its own place in the queue.


Import
import { gqlRequestKeyMapper } from "@hyper-fetch/graphql"

Parameters​

gqlRequestKeyMapper(request: RequestInstance)
Parameters
NameTypeDescription
request
RequestInstance

Returns​

string