Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/urql-graphql/urql
/ functions
Functions
705 in github.com/urql-graphql/urql
⨍
Functions
705
◇
Types & classes
115
Function
SvgAnchor
packages/site/src/assets/anchor.js:3
Function
SvgChevron
packages/site/src/assets/chevron.js:3
Function
Test
()
packages/preact-urql/src/components/Subscription.test.tsx:35
Function
Test
()
packages/preact-urql/src/components/Mutation.test.tsx:36
Function
Test
()
packages/preact-urql/src/components/Query.test.tsx:38
Function
Test
()
packages/react-urql/src/components/Mutation.test.tsx:47
Function
Test
()
packages/react-urql/src/components/Query.test.tsx:47
Function
Todos
()
exchanges/graphcache/e2e-tests/updates.spec.tsx:80
Function
UrqlProvider
({ children, ssr, client, nonce, }: React.PropsWithChildren<{ ssr: SSRExchange; client: Client;
packages/next-urql/src/Provider.ts:51
Function
__initAnd_query
( store: Store, request: OperationRequest, data?: Data | null | undefined, error?: CombinedError | und
exchanges/graphcache/src/operations/query.ts:65
Function
__initAnd_write
( store: Store, request: OperationRequest, data: Data, error?: CombinedError | undefined, key?: numb
exchanges/graphcache/src/operations/write.ts:59
Function
__initAnd_writeOptimistic
( store: Store, request: OperationRequest, key: number )
exchanges/graphcache/src/operations/write.ts:72
Function
addAuthToOperation
(operation)
exchanges/auth/src/authExchange.test.ts:64
Function
addAuthToOperation
(operation)
examples/with-graphcache-updates/src/client.js:51
Function
addAuthToOperation
(operation)
examples/with-refresh-auth/src/client.js:25
Function
addAuthors
exchanges/graphcache/benchmarks/benchmarks.js:93
Function
addBooks
exchanges/graphcache/benchmarks/benchmarks.js:72
Function
addEmployees
exchanges/graphcache/benchmarks/benchmarks.js:86
Function
addStores
exchanges/graphcache/benchmarks/benchmarks.js:79
Function
addTodo
()
exchanges/graphcache/benchmarks/benchmarks.js:44
Function
addTodos
exchanges/graphcache/benchmarks/benchmarks.js:58
Function
addWriters
exchanges/graphcache/benchmarks/benchmarks.js:65
Function
alphabet
(parent, _args, cache)
examples/with-subscriptions-via-fetch/src/App.jsx:14
Function
appendHeaders
( operation: Operation, headers: Record<string, string> )
exchanges/auth/src/authExchange.ts:261
Method
args
()
exchanges/graphcache/src/ast/schema.ts:11
Function
buildPackage
scripts/actions/lib/commands.mjs:16
Method
children
(arg: MutationState<Data, Variables>)
packages/preact-urql/src/components/Mutation.ts:22
Function
clear
(key)
packages/react-urql/src/hooks/cache.ts:42
Function
clear
()
exchanges/graphcache/src/default-storage/index.ts:82
Method
constructor
(input: { networkError?: Error; graphQLErrors?: Array<string | ErrorLike>; response?: any; })
packages/core/src/utils/error.ts:95
Method
constructor
(opts?: C)
exchanges/graphcache/src/store/store.ts:65
Method
constructor
( typename: undefined | string, entityKey: string, _defer: boolean, _optional: boolean | undef
exchanges/graphcache/src/operations/shared.ts:194
Function
context
exchanges/execute/src/execute.test.ts:118
Function
createNameNode
(value: string)
exchanges/populate/src/helpers/node.ts:19
Function
createRequestOperation
(kind, request, opts)
packages/core/src/client.ts:733
Function
delayExchange
({ forward })
packages/react-urql/e2e-tests/useQuery.spec.tsx:17
Function
didAuthError
(error)
examples/with-graphcache-updates/src/client.js:59
Function
didAuthError
(error)
examples/with-refresh-auth/src/client.js:32
Method
dispatchDebug
Issues a debug event to the `urql-devtools`. * * @remarks * If `@urql/devtools` are set up, this dispatch function issues events to the `urql
packages/core/src/types.ts:756
Function
dispose
(key)
packages/react-urql/src/hooks/cache.ts:46
Function
error
(error)
packages/core/src/exchanges/subscription.ts:158
Function
exchange
()
packages/vue-urql/src/ssr-hydration.test.ts:23
Function
executeMutation
( variables: V, context?: Partial<OperationContext> )
packages/vue-urql/src/useMutation.ts:154
Function
executeMutation
(query, opts)
packages/core/src/client.ts:815
Function
executeQuery
(opts?: Partial<OperationContext>)
packages/vue-urql/src/useQuery.ts:332
Function
executeQuery
packages/solid-urql/src/createQuery.ts:310
Method
executeQuery
Triggers {@link useQuery} to execute a new GraphQL query operation. * * @param opts - optionally, context options that will be merged with *
packages/vue-urql/src/useQuery.ts:182
Function
executeRequestOperation
(operation)
packages/core/src/client.ts:759
Function
executeSubscription
(opts?: Partial<OperationContext>)
packages/solid-start-urql/src/createSubscription.ts:148
Function
executeSubscription
( opts?: Partial<OperationContext> )
packages/vue-urql/src/useSubscription.ts:299
Function
executeSubscription
(query, opts)
packages/core/src/client.ts:806
Method
executeSubscription
Triggers {@link useQuery} to reexecute a GraphQL subscription operation. * * @param opts - optionally, context options that will be merged with
packages/vue-urql/src/useSubscription.ts:181
Function
fail
()
packages/core/src/exchanges/fetch.test.ts:146
Function
fail
()
packages/core/src/internal/fetchSource.test.ts:197
Function
fetchExchange
()
packages/react-urql/src/test-utils/ssr.test.tsx:85
Function
firstExchange
({ client, forward })
packages/core/src/exchanges/compose.test.ts:23
Function
forward
(s: Source<Operation>)
packages/core/src/exchanges/debug.test.ts:18
Function
forward
(s: Source<Operation>)
packages/core/src/exchanges/cache.test.ts:41
Function
forward
exchanges/throw-on-error/src/throwOnErrorExchange.test.ts:47
Function
forward
exchanges/context/src/context.test.ts:58
Function
forward
exchanges/retry/src/retryExchange.test.ts:111
Function
forward
exchanges/graphcache/src/offlineExchange.ts:149
Function
forward
exchanges/graphcache/src/cacheExchange.test.ts:91
Function
forward
exchanges/graphcache/src/offlineExchange.test.ts:90
Method
generateHash
Custom hashing function for persisted queries. * * @remarks * By default, `persistedExchange` will create a SHA-256 hash for * persisted q
exchanges/persisted/src/persistedExchange.ts:78
Function
get
()
packages/core/src/internal/fetchSource.test.ts:257
Function
get
(key)
packages/react-urql/src/hooks/cache.ts:35
Function
getAllAuthors
()
exchanges/graphcache/benchmarks/benchmarks.js:40
Function
getAllBooks
()
exchanges/graphcache/benchmarks/benchmarks.js:28
Function
getAllEmployees
()
exchanges/graphcache/benchmarks/benchmarks.js:36
Function
getAllStores
()
exchanges/graphcache/benchmarks/benchmarks.js:32
Function
getAllTodos
()
exchanges/graphcache/benchmarks/benchmarks.js:20
Function
getAllWriters
()
exchanges/graphcache/benchmarks/benchmarks.js:24
Method
getContext
Returns a new {@link OperationContext}, optionally wrapped in a `Promise`. * * @remarks * `getContext` is called for every {@link Operation}
exchanges/context/src/context.ts:18
Function
getContextClient
()
packages/svelte-urql/src/context.ts:21
Method
getDerivedStateFromError
(error: Error)
packages/react-urql/src/hooks/useQuery.spec.ts:313
Function
getEntitiesForType
(typename: string)
exchanges/graphcache/src/store/data.ts:478
Function
getIntrospectedSchema
( input: string | IntrospectionQuery | GraphQLSchema )
packages/introspection/src/getIntrospectedSchema.ts:19
Function
getUsedFragmentNames
(node: FragmentDefinitionNode)
exchanges/populate/src/helpers/traverse.ts:85
Function
handleFileChange
examples/with-multipart/src/FileUpload.jsx:22
Function
handleFileUpload
()
examples/with-multipart/src/FileUpload.jsx:18
Function
handleIncomingMutation
(op: Operation)
exchanges/populate/src/populateExchange.ts:133
Function
handleIncomingQuery
({ key, kind, query, variables, }: Operation)
exchanges/populate/src/populateExchange.ts:429
Function
handleIncomingTeardown
({ key, kind }: Operation)
exchanges/populate/src/populateExchange.ts:462
Function
handleSubmit
(e: Event)
examples/with-solid-start/src/routes/index.tsx:35
Function
hash
(query: string)
exchanges/persisted/src/sha256.ts:26
Function
initContextClient
(args: ClientOptions)
packages/svelte-urql/src/context.ts:54
Function
inspectFields
(entityKey: string)
exchanges/graphcache/src/store/data.ts:668
Method
inspectFields
(entity: Entity)
exchanges/graphcache/src/store/store.ts:202
Function
install
( app: App, opts: ClientOptions | Client | Ref<Client>, key: string = DEFAULT_KEY )
packages/vue-urql/src/useClient.ts:81
Function
interop
(id)
scripts/rollup/config.mjs:108
Function
invalidate
(result: OperationResult)
packages/core/src/exchanges/ssr.ts:196
Method
invalidate
(entity: Entity, field?: string, args?: FieldArgs)
exchanges/graphcache/src/store/store.ts:176
Function
isExternal
scripts/rollup/settings.mjs:58
Method
isOfflineError
Predicate function to determine whether a {@link CombinedError} hints at a network error. * * @remarks * Not ever {@link CombinedError} means
exchanges/graphcache/src/offlineExchange.ts:52
Function
isSubType
(abstract: string, possible: string)
exchanges/graphcache/src/ast/schema.ts:98
Method
keyOfField
Returns the cache key for a field. * * @param fieldName - the field’s name. * @param args - the field’s arguments, if any. * @returns the
exchanges/graphcache/src/types.ts:301
Method
keyOfField
(fieldName: string, fieldArgs?: FieldArgs)
exchanges/graphcache/src/store/store.ts:126
Method
link
( entity: Entity, field: string, ...rest: [FieldArgs, Link<Entity>] | [Link<Entity>] )
exchanges/graphcache/src/store/store.ts:262
Function
listArtifacts
()
scripts/actions/lib/packages.mjs:65
← previous
next →
501–600 of 705, ranked by callers