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"
Source
Package
Parameters
gqlRequestNameMapper(request: RequestInstance)
Parameters
| Name | Type | Description |
|---|---|---|
| request | |
Returns
string

