Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ardatan/graphql-tools
/ functions
Functions
1,747 in github.com/ardatan/graphql-tools
⨍
Functions
1,747
◇
Types & classes
190
Function
declareExportOpaqueType
* declare export type NAME = VALUE
packages/relay-compiler/lib/language/javascript/RelayFlowBabelFactories.js:72
Function
dedupeJSONStringify
* This function works similar to JSON.stringify except that for the case there * are multiple common subtrees, it generates a string for a IIFE that
packages/relay-compiler/lib/util/dedupeJSONStringify.js:18
Function
deeperNestedFriendList
()
packages/executor/src/execution/__tests__/stream-test.ts:1314
Function
defaultGetFileFilter
(baseDir)
packages/relay-compiler/lib/core/RelaySourceModuleParser.js:103
Method
defaultImport
()
packages/import/src/link/link.ts:110
Function
defaultIsGeneratedFile
(filePath)
packages/relay-compiler/lib/bin/RelayCompilerMain.js:347
Function
defaultIsGqlTemplateLiteral
( node: any, options: { gqlMagicComment?: string; gqlHashComment?: string }, )
packages/graphql-tag-pluck/src/visitor.ts:164
Function
defaultPersistFunction
(text)
packages/relay-compiler/lib/bin/RelayCompilerMain.js:411
Function
defaultPluckStringFromFile
( code: string, { start, end }: { start: number; end: number }, options: { skipIndent?: boolean } = {},
packages/graphql-tag-pluck/src/visitor.ts:146
Function
defaultRequireMethod
(path: string)
packages/load-files/src/index.ts:260
Function
defaultStringComparator
(a: string | undefined, b: string | undefined)
packages/merge/src/typedefs-mergers/utils.ts:50
Function
defaultSyncFetch
( input: RequestInfo, init?: RequestInit, )
packages/loaders/url/src/defaultSyncFetch.ts:4
Function
deferStreamTransform
* This transform finds usages of @defer and @stream, validates them, and * converts the using node to specialized IR nodes (Defer/Stream).
packages/relay-compiler/lib/transforms/DeferStreamTransform.js:34
Function
deserializeState
(json)
packages/relay-compiler/lib/runner/Artifacts.js:72
Function
disallowIdAsAlias
* This is not an actual transform (but more a validation) * Relay does not allow aliasing fields to `id`.
packages/relay-compiler/lib/transforms/DisallowIdAsAlias.js:35
Function
disallowTypenameOnRoot
(context)
packages/relay-compiler/lib/transforms/DisallowTypenameOnRoot.js:48
Function
doNotPruneTypeWithBar
(type: GraphQLNamedType)
packages/utils/tests/prune.test.ts:377
Method
emptyQueue
()
packages/testing/simplePubSub.ts:28
Function
enable
()
packages/relay-compiler/lib/core/GraphQLCompilerProfiler.js:44
Function
ensureAsyncIterable
( someExecutionResult: SingularExecutionResult | IncrementalExecutionResults, )
packages/executor/src/execution/execute.ts:2410
Function
enter
(node)
packages/loaders/external-fragment/tests/external-fragment-loader.spec.ts:408
Function
error
(err: Error)
packages/utils/src/observableToAsyncIterable.ts:84
Function
executorFromSchema
(schema: GraphQLSchema)
packages/executor/src/execution/normalizedExecutor.ts:40
Function
executorToExecuteFn
(executionArgs: ExecutionArgs)
packages/executors/envelop/src/index.ts:32
Function
exit
(path: any)
packages/graphql-tag-pluck/src/visitor.ts:404
Function
expectEqualPromisesOrValues
( items: ReadonlyArray<MaybePromise<T>>, )
packages/executor/src/__testUtils__/expectEqualPromisesOrValues.ts:12
Function
expectPromise
(maybePromise: unknown)
packages/executor/src/__testUtils__/expectPromise.ts:3
Function
expectToThrowJSON
(fn: () => unknown)
packages/executor/src/__testUtils__/expectJSON.ts:58
Function
exportType
* export type NAME = TYPE
packages/relay-compiler/lib/language/javascript/RelayFlowBabelFactories.js:50
Function
exportTypes
* export type {A, B, C}
packages/relay-compiler/lib/language/javascript/RelayFlowBabelFactories.js:57
Function
extendASTSchema
* Extends a GraphQLSchema with a list of schema extensions in AST form.
packages/relay-compiler/lib/core/ASTConvert.js:143
Function
extractFromJS
(baseDir, file)
packages/relay-compiler/lib/runner/extractAST.js:21
Function
fieldResolver
(_source, _args, _context, info)
packages/executor/src/execution/__tests__/executor-test.ts:1252
Function
filterContextForNode
* Returns a CompilerContext containing only the documents referenced * by and including the provided node.
packages/relay-compiler/lib/core/filterContextForNode.js:22
Function
filterDirectivesTransform
* A transform that removes any directives that are only interpreted by the Relay compiler.
packages/relay-compiler/lib/transforms/FilterCompilerDirectivesTransform.js:19
Function
filterDirectivesTransform
* A transform that removes any directives that were not present in the * server schema.
packages/relay-compiler/lib/transforms/FilterDirectivesTransform.js:19
Function
find
(tagFinder, text, absPath)
packages/relay-compiler/lib/core/RelayFindGraphQLTags.js:37
Function
first
()
packages/executor/src/execution/__tests__/abort-signal.test.ts:150
Function
fixSchemaAst
( schema: GraphQLSchema, options: BuildSchemaOptions & SchemaPrintOptions, )
packages/utils/src/fixSchemaAst.ts:12
Function
forChanges
(nodes, changedNames)
packages/relay-compiler/lib/runner/GraphQLASTNodeGroup.js:105
Function
forFullBuild
(nodes, baseNodes)
packages/relay-compiler/lib/runner/GraphQLASTNodeGroup.js:97
Function
formatFilepath
(filepath)
packages/relay-compiler/lib/runner/BufferedFilesystem.js:271
Function
formatGeneratedCommonjsModule
(options)
packages/relay-compiler/lib/language/javascript/formatGeneratedModule.js:36
Function
formatGeneratedESModule
(options)
packages/relay-compiler/lib/language/javascript/formatGeneratedModule.js:40
Function
fragmentMetadata
(_ref2)
packages/relay-compiler/lib/transforms/RelayDirectiveTransform.js:72
Function
fragmentSpreadMetadata
(_ref3)
packages/relay-compiler/lib/transforms/RelayDirectiveTransform.js:99
Function
friendList
()
packages/executor/src/execution/__tests__/stream-test.ts:534
Method
fromTypedefs
(node: ValueNode)
packages/import/src/link/link-import.ts:13
Function
generateIDFieldTransform
* A transform that adds an `id` field on any type that has an id field but * where there is no unaliased `id` selection.
packages/relay-compiler/lib/transforms/GenerateIDFieldTransform.js:36
Function
generateMessages
()
packages/executor/src/execution/__tests__/subscribe.test.ts:1123
Function
generateMetadata
(props: NextPageProps<'...mdxPath'>)
website/src/app/docs/[[...mdxPath]]/page.tsx:8
Function
generateMetadata
(props: NextPageProps<'...slug'>)
website/src/app/changelogs/[...slug]/page.tsx:51
Function
generateStaticParams
()
website/src/app/changelogs/[...slug]/page.tsx:31
Function
generateTypeNameTransform
* A transform that adds `__typename` field on any `LinkedField` of a union or * interface type where there is no unaliased `__typename` selection.
packages/relay-compiler/lib/transforms/GenerateTypeNameTransform.js:35
Function
get
()
packages/utils/tests/mergeDeep.test.ts:125
Function
get
()
packages/executor/src/execution/execute.ts:901
Function
get
()
packages/executor/src/execution/__tests__/resolve-test.ts:127
Function
get
()
scripts/test-babel-template-retention.mjs:100
Method
get
( _typeName: string | Ref<KeyT> | GetArgs<KeyT>, _key?: KeyT | { [fieldName: string]: any } | string |
packages/mock/src/MockStore.ts:101
Function
getAbortSignal
()
packages/executor/src/execution/execute.ts:803
Function
getAsyncHelpers
()
packages/executor/src/execution/execute.ts:804
Function
getChangedNodeNames
(projectStates, projects)
packages/relay-compiler/lib/runner/getChangedNodeNames.js:22
Function
getCodegenRunner
(config)
packages/relay-compiler/lib/bin/RelayCompilerMain.js:307
Function
getDefinitionNodeHash
(node)
packages/relay-compiler/lib/util/getDefinitionNodeHash.js:18
Function
getDescription
( node: { description?: StringValueNode; loc?: Location }, options?: { commentDescriptions?: boolean }, )
packages/utils/src/comments.ts:451
Function
getDirectiveInExtensions
( node: DirectableGraphQLObject, directiveName: string, pathToDirectivesInExtensions = ['directives'], )
packages/utils/src/get-directives.ts:27
Method
getExecutorByRequest
(request: ExecutionRequest<any>)
packages/loaders/url/src/index.ts:343
Function
getFieldDefinitionLegacy
* Find the definition of a field of the specified type, first trying * the standard spec-compliant resolution process and falling back * to legacy m
packages/relay-compiler/lib/core/getFieldDefinition.js:63
Method
getHttpExecutor
()
packages/loaders/url/src/index.ts:321
Function
getNonNullBooleanInput
(schema)
packages/relay-compiler/lib/core/SchemaUtils.js:83
Function
getNonNullIdInput
(schema)
packages/relay-compiler/lib/core/SchemaUtils.js:99
Function
getNonNullStringInput
(schema)
packages/relay-compiler/lib/core/SchemaUtils.js:91
Function
getNullableBooleanInput
(schema)
packages/relay-compiler/lib/core/SchemaUtils.js:79
Function
getNullableIdInput
(schema)
packages/relay-compiler/lib/core/SchemaUtils.js:95
Function
getNullableStringInput
(schema)
packages/relay-compiler/lib/core/SchemaUtils.js:87
Function
getParser
(baseDir)
packages/relay-compiler/lib/core/RelaySourceModuleParser.js:96
Function
getParser
(baseDir)
packages/relay-compiler/lib/core/DotGraphQLParser.js:30
Function
getResponseKeyFromInfo
(info: GraphQLResolveInfo)
packages/utils/src/getResponseKeyFromInfo.ts:8
Function
getSchemaInstance
(getSchemaSource, getSchemaExtensions, schemaExtensions)
packages/relay-compiler/lib/runner/getSchemaInstance.js:18
Method
getSetHttpExecutor$
()
packages/loaders/url/src/index.ts:327
Function
getTraces
()
packages/relay-compiler/lib/core/GraphQLCompilerProfiler.js:48
Function
getUser
(token: string)
packages/utils/tests/mapSchema.test.ts:566
Function
graphqlLoader
(this: LoaderContext<Options>, source: string)
packages/webpack-loader/src/index.ts:490
Method
has
(typeName: string, key: KeyT)
packages/mock/src/MockStore.ts:97
Function
hasWatchmanRootFile
(testPath)
packages/relay-compiler/lib/bin/RelayCompilerMain.js:570
Function
hello
()
packages/utils/tests/schema-directive-examples.spec.ts:35
Function
hello
()
packages/utils/tests/mapSchema.test.ts:307
Function
hello
(_source: unknown, _args: unknown, _context: unknown, info: GraphQLResolveInfo)
packages/executor/src/execution/__tests__/async-helpers.test.ts:23
Function
idFragmentForType
(type)
packages/relay-compiler/lib/transforms/GenerateIDFieldTransform.js:53
Method
identity
The Link's identity. This is the unique identifier of a `@link`.
packages/import/src/link/link.ts:115
Function
implementsAbstractType
( schema: GraphQLSchema, typeA: Maybe<GraphQLType>, typeB: Maybe<GraphQLType>, )
packages/utils/src/implementsAbstractType.ts:4
Function
importTypes
* import type {NAMES[0], NAMES[1], ...} from 'MODULE';
packages/relay-compiler/lib/language/javascript/RelayFlowBabelFactories.js:85
Method
imports
()
packages/import/src/link/link.ts:153
Function
inexactObjectTypeAnnotation
* { * PROPS * ... * }
packages/relay-compiler/lib/language/javascript/RelayFlowBabelFactories.js:41
Function
inlineDataFragmentTransform
* A transform that converts fragment spreads where the referenced fragment * is annotated with @inline to a InlineDataFragmentSpread. * InlineDataFr
packages/relay-compiler/lib/transforms/InlineDataFragmentTransform.js:29
Function
inlineFragmentsTransform
* A transform that inlines all fragments and removes them.
packages/relay-compiler/lib/transforms/InlineFragmentsTransform.js:20
Function
instrumented
()
packages/relay-compiler/lib/core/GraphQLCompilerProfiler.js:96
Function
intersectionTypeAnnotation
* Create an intersection type if needed. * * TYPES[0] & TYPES[1] & ...
packages/relay-compiler/lib/language/javascript/RelayFlowBabelFactories.js:101
Function
invalidateUnifiedGraph
()
packages/executors/envelop/src/index.ts:129
Function
invariant
(condition: boolean, message?: string)
packages/executor/src/execution/invariant.ts:1
← previous
next →
1,401–1,500 of 1,747, ranked by callers