Skip to main content
Version: v8.0.0

gqlRequestNameMapper

Name identifying the request in the cache, query and abort keys. With the document option the same operation can be sent to many paths, so the path is a part of the name.


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

Parameters​

gqlRequestNameMapper(request: RequestInstance)
Parameters
NameTypeDescription
request
RequestInstance

Returns​

string