( queryKey: TQueryKey, options?: QueryOptions<any, any, any, TQueryKey> )
| 280 | } |
| 281 | |
| 282 | export function hashQueryKeyByOptions<TQueryKey extends QueryKey = QueryKey>( |
| 283 | queryKey: TQueryKey, |
| 284 | options?: QueryOptions<any, any, any, TQueryKey> |
| 285 | ): string { |
| 286 | const hashFn = options?.queryKeyHashFn || hashQueryKey |
| 287 | return hashFn(queryKey) |
| 288 | } |
| 289 | |
| 290 | /** |
| 291 | * Default query keys hash function. |
no outgoing calls
no test coverage detected
searching dependent graphs…