MCPcopy Index your code
hub / github.com/HuolalaTech/react-query-kit / getOptions

Function getOptions

src/createBaseQuery.ts:52–57  ·  view source on GitHub ↗
(variables: any)

Source from the content-addressed store, hash-verified

50 getFullKey(defaultOptions.queryKey, variables)
51
52 const getOptions = (variables: any) => {
53 return {
54 ...defaultOptions,
55 ...getQueryOptions(defaultOptions.fetcher, variables),
56 }
57 }
58
59 const getFetchOptions = (variables: any) => {
60 return {

Callers

nothing calls this directly

Calls 1

getQueryOptionsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…