Skip to main content

cacheKey

Returns the argument passed in. Useful to work around some limitations of Apollo on the frontend.

cacheKey(
cacheKey: String
): String

Arguments

cacheKey.cacheKey ● String scalar

Type

String scalar

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.