MCPcopy Create free account

hub / github.com/ardatan/graphql-tools / functions

Functions1,747 in github.com/ardatan/graphql-tools

↓ 4 callersFunctionbuildLocation
* @private
packages/relay-compiler/lib/core/RelayParser.js:1682
↓ 4 callersFunctionbuildOperationArgumentDefinitions
(argumentDefinitions)
packages/relay-compiler/lib/transforms/query-generators/utils.js:71
↓ 4 callersFunctioncompleteValue
* Implements the instructions for completeValue as defined in the * "Value Completion" section of the spec. * * If the field type is Non-Null, then
packages/executor/src/execution/execute.ts:1602
↓ 4 callersFunctioncreateNonRecoverableUserError
* Similar to createUserError but for errors that are *not* recoverable: * the compiler should not continue to process other inputs because their * v
packages/relay-compiler/lib/core/CompilerError.js:46
↓ 4 callersFunctionextractData
(pointer: string)
packages/loaders/module/src/index.ts:14
↓ 4 callersFunctiongetDirectiveValues
( directiveDef: GraphQLDirective, node: { readonly directives?: ReadonlyArray<DirectiveNode> | undefin
packages/utils/src/getDirectiveValues.ts:14
↓ 4 callersMethodgetExecutorAsync
( endpoint: string, options?: Omit<LoadFromUrlOptions, 'endpoint'>, )
packages/loaders/url/src/index.ts:369
↓ 4 callersMethodgetFetch
( customFetch: LoadFromUrlOptions['customFetch'], importFn: SyncImportFn | AsyncImportFn, )
packages/loaders/url/src/index.ts:196
↓ 4 callersFunctiongetName
(node)
packages/relay-compiler/lib/runner/GraphQLASTUtils.js:13
↓ 4 callersFunctiongetName
* @private
packages/relay-compiler/lib/core/RelayParser.js:1719
↓ 4 callersFunctiongetPublishNode
(record: AsyncPayloadRecord)
packages/executor/src/execution/incremental.ts:395
↓ 4 callersFunctiongqlPluckFromCodeStringSync
( filePath: string, code: string, options: GraphQLTagPluckOptions = {}, )
packages/graphql-tag-pluck/src/index.ts:293
↓ 4 callersFunctionindent
(maybeString?: string)
packages/utils/src/comments.ts:156
↓ 4 callersFunctioninferRootArgumentDefinitions
* Returns a transformed version of the input context where each document's * argument definitions are updated to accurately describe the root variabl
packages/relay-compiler/lib/core/inferRootArgumentDefinitions.js:41
↓ 4 callersFunctionisAtOrUnderNulledPath
( path: ReadonlyArray<string | number>, nulledPaths: ReadonlyArray<ReadonlyArray<string | number>> | undef
packages/executor/src/execution/incremental.ts:127
↓ 4 callersFunctionisIncrementalResult
( result: SingularExecutionResult<TData> | IncrementalExecutionResults<TData>, )
packages/executor/src/execution/execute.ts:2946
↓ 4 callersFunctionisObjectLike
(value: unknown)
packages/utils/src/jsutils.ts:13
↓ 4 callersFunctionloadTypedefsSync
( pointerOrPointers: UnnormalizedTypeDefPointer | UnnormalizedTypeDefPointer[], options: LoadTypedefsOptio
packages/load/src/load-typedefs.ts:65
↓ 4 callersFunctionmakeRef
( typeName: string, key: KeyT, )
packages/mock/src/utils.ts:28
↓ 4 callersFunctionmarkDone
()
packages/executor/src/execution/incremental.ts:665
↓ 4 callersFunctionmd5
(str)
packages/relay-compiler/lib/util/md5.js:13
↓ 4 callersMethodon
(eventName, listener)
scripts/jest-leak-runner.cjs:18
↓ 4 callersFunctionparseDocument
(doc: string)
packages/webpack-loader/src/parser.ts:65
↓ 4 callersFunctionparseImportPaths
(source: string)
packages/webpack-loader/src/index.ts:214
↓ 4 callersMethodparseLiteral
(ast)
packages/utils/tests/mapSchema.test.ts:696
↓ 4 callersFunctionpathStartsWith
( path: ReadonlyArray<string | number>, prefix: ReadonlyArray<string | number>, )
packages/executor/src/execution/incremental.ts:112
↓ 4 callersFunctionprintDirectives
(schema, directives)
packages/relay-compiler/lib/core/IRPrinter.js:372
↓ 4 callersFunctionprocessImport
( filePath: string, cwd = globalThis.process?.cwd(), predefinedImports: Record<string, string> = {}, v
packages/import/src/index.ts:138
↓ 4 callersFunctionrewireType
(type: T)
packages/utils/src/rewire.ts:193
↓ 4 callersFunctionsleep
( ms: number, onTimeout: (timeout: NodeJS.Timeout) => T = () => { return undefined as T; }, )
packages/loaders/url/tests/test-utils.ts:23
↓ 4 callersFunctiontransformSelections
(context, fragments, scope, selections, errorContext)
packages/relay-compiler/lib/transforms/ApplyFragmentArgumentTransform.js:268
↓ 4 callersFunctionvisitSelectionNode
(node: SelectionNode, dependencySet: DependencySet)
packages/import/src/index.ts:1045
↓ 4 callersFunctionvisitTypeNode
( node: TypeNode, dependencySet: DependencySet, dependenciesByDefinitionName: DependenciesByDefinitionNa
packages/import/src/index.ts:1127
↓ 3 callersMethodaddItems
(items: MaybePromise<Array<unknown> | null>)
packages/executor/src/execution/incremental.ts:362
↓ 3 callersFunctionaddTemplateLiteralToResult
(content: PluckedContent)
packages/graphql-tag-pluck/src/visitor.ts:261
↓ 3 callersFunctionassertAsyncIterable
(input: unknown)
packages/loaders/url/tests/test-utils.ts:5
↓ 3 callersFunctionawaitAllMaybe
(promises: Array<MaybePromise<unknown> | undefined | void>)
packages/executor/src/execution/flattenAsyncIterable.ts:6
↓ 3 callersFunctionbuildExecutionContext
( args: ExecutionArgs<TData, TVariables, TContext>, )
packages/executor/src/execution/execute.ts:693
↓ 3 callersFunctioncancelAsyncPayload
( exeContext: IncrementalPublisherContext, record: AsyncPayloadRecord, )
packages/executor/src/execution/incremental.ts:238
↓ 3 callersFunctioncloseSocket
(sendStop: boolean)
packages/executors/legacy-ws/src/index.ts:81
↓ 3 callersFunctioncollect
(refs)
scripts/test-babel-template-retention.mjs:27
↓ 3 callersFunctioncollectFieldsFromContext
( exeContext: ExecutionContext, runtimeType: GraphQLObjectType, selectionSet: SelectionSetNode, )
packages/executor/src/execution/execute.ts:170
↓ 3 callersFunctioncreateMockStore
(options: { /** * The `schema` to based mocks on. */ schema: GraphQLSchema; /** * The mocks fu
packages/mock/src/MockStore.ts:778
↓ 3 callersFunctiondefaultValueAstFromType
( arg: GraphQLArgument | GraphQLInputField, )
packages/utils/src/defaultValueAstFromType.ts:15
↓ 3 callersFunctiondeleteAsyncPayload
( exeContext: IncrementalPublisherContext, record: AsyncPayloadRecord, )
packages/executor/src/execution/incremental.ts:102
↓ 3 callersFunctiondescribeIf
(condition: boolean)
packages/loaders/url/tests/sync.spec.ts:5
↓ 3 callersFunctionend
(traceIdx)
packages/relay-compiler/lib/core/GraphQLCompilerProfiler.js:256
↓ 3 callersFunctionensureResultsDir
(dir)
scripts/bench-ci.mjs:61
↓ 3 callersFunctionerrorHandlingOf
( options: { errorHandling?: LoadErrorHandling }, pointerOptions: { errorHandling?: LoadErrorHandling }, )
packages/load/src/load-typedefs/collect-sources.ts:160
↓ 3 callersFunctionexecFile
(cmd, args)
packages/relay-compiler/lib/codegen/SourceControl.js:23
↓ 3 callersFunctionexecuteFields
* Implements the "Executing selection sets" section of the spec * for fields that may be executed in parallel.
packages/executor/src/execution/execute.ts:1185
↓ 3 callersFunctionextractExtensionsFromSchema
( schema: GraphQLSchema, removeDirectives = false, )
packages/utils/src/extractExtensionsFromSchema.ts:35
↓ 3 callersFunctionextractImportLines
(fileContent: string)
packages/import/src/index.ts:838
↓ 3 callersFunctionfreeText
(text: string | string[], skipIndentation = false)
packages/graphql-tag-pluck/src/utils.ts:2
↓ 3 callersMethodgenerateFieldValue
( typeName: string, fieldName: string, fieldArgs: string | { [argName: string]: any } | undefined,
packages/mock/src/MockStore.ts:491
↓ 3 callersFunctiongetDirectives
( schema: GraphQLSchema, node: DirectableGraphQLObject, pathToDirectivesInExtensions = ['directives'], )
packages/utils/src/get-directives.ts:36
↓ 3 callersMethodgetKeyFieldName
(typeName: string)
packages/mock/src/MockStore.ts:694
↓ 3 callersFunctiongetPackageMapArgs
( packageDir: string, options: ExternalFragmentResolverOptions, { scanInternalDirs, extensions, excludeP
packages/loaders/external-fragment/src/resolve.ts:765
↓ 3 callersFunctiongroupedFieldSetToFieldMap
( groupedFieldSet: GroupedFieldSet, deferUsageByFieldNode?: WeakMap<FieldNode, DeferUsage | undefined>, )
packages/executor/src/execution/incrementalCollect.ts:269
↓ 3 callersMethodinsert
( typeName: string, values: { [fieldName: string]: unknown }, noOverride?: boolean, )
packages/mock/src/MockStore.ts:434
↓ 3 callersFunctionisMockList
(obj: any)
packages/mock/src/MockList.ts:4
↓ 3 callersFunctionisNonNullTypeNode
(type: TypeNode)
packages/merge/src/typedefs-mergers/utils.ts:27
↓ 3 callersFunctionisSafeKeyPath
(keyPath: readonly unknown[])
packages/utils/src/mergeIncrementalResult.ts:101
↓ 3 callersFunctionisSchemaDefinitionAST
* @public * * Determine if an AST node contains a schema definition.
packages/relay-compiler/lib/core/SchemaUtils.js:32
↓ 3 callersFunctionisStreamPayload
(asyncPayload: AsyncPayloadRecord)
packages/executor/src/execution/incremental.ts:381
↓ 3 callersFunctionisUrl
(str: string)
packages/utils/src/helpers.ts:11
↓ 3 callersFunctionloadFiles
( pattern: string | string[], options: LoadFilesOptions = LoadFilesDefaultOptions, )
packages/load-files/src/index.ts:236
↓ 3 callersFunctionloadTypedefs
( pointerOrPointers: UnnormalizedTypeDefPointer | UnnormalizedTypeDefPointer[], options: LoadTypedefsOptio
packages/load/src/load-typedefs.ts:25
↓ 3 callersFunctionloader
()
packages/load/tests/loaders/documents/error-handling.spec.ts:223
↓ 3 callersFunctionmakeDirectiveNode
( name: string, args?: Record<string, any>, directive?: Maybe<GraphQLDirective>, )
packages/utils/src/print-schema-with-directives.ts:503
↓ 3 callersFunctionmemoize1
(fn: F)
packages/utils/src/memoize.ts:1
↓ 3 callersFunctionmergeFields
( type: { name: NameNode }, f1: ReadonlyArray<T> | undefined, f2: ReadonlyArray<T> | undefined, config
packages/merge/src/typedefs-mergers/fields.ts:41
↓ 3 callersFunctionmergeGraphQLNodes
( nodes: ReadonlyArray<DefinitionNode>, config?: Config, directives: Record<string, DirectiveDefinitionN
packages/merge/src/typedefs-mergers/merge-nodes.ts:32
↓ 3 callersFunctionmergeIncrementalResult
({ incrementalResult, executionResult, }: { incrementalResult: ExecutionResult; executionResult: Execu
packages/utils/src/mergeIncrementalResult.ts:19
↓ 3 callersFunctionmergeNamedTypeArray
( first: ReadonlyArray<NamedTypeNode> = [], second: ReadonlyArray<NamedTypeNode> = [], config: Config =
packages/merge/src/typedefs-mergers/merge-named-type-array.ts:9
↓ 3 callersFunctionmergeTypeDefs
( typeSource: TypeSource, config?: Partial<Config>, )
packages/merge/src/typedefs-mergers/merge-typedefs.ts:118
↓ 3 callersFunctionmicrotime
()
packages/relay-compiler/lib/core/GraphQLCompilerProfiler.js:205
↓ 3 callersFunctionnext
()
packages/mock/src/addMocksToSchema.ts:192
↓ 3 callersFunctionnullthrows
(x)
packages/relay-compiler/lib/util/nullthrowsOSS.js:13
↓ 3 callersFunctionobservableToAsyncIterable
(observable: Observable<T>)
packages/utils/src/observableToAsyncIterable.ts:17
↓ 3 callersFunctionparseGitTreeOutput
(stdout: string)
packages/loaders/git/src/load-git.ts:21
↓ 3 callersFunctionparseGraphQLJSON
( location: string, jsonContent: string, options: SchemaPrintOptions & ParseOptions, )
packages/utils/src/parse-graphql-json.ts:21
↓ 3 callersFunctionparseImportLine
(importLine: string)
packages/import/src/index.ts:911
↓ 3 callersFunctionpathFromDirent
(entry: Dirent)
packages/load-files/src/matchFiles.ts:85
↓ 3 callersFunctionprintLiteral
(schema, value, type)
packages/relay-compiler/lib/core/IRPrinter.js:449
↓ 3 callersFunctionprintLocations
(locations)
packages/relay-compiler/lib/core/CompilerError.js:148
↓ 3 callersFunctionresetComments
()
packages/utils/src/comments.ts:24
↓ 3 callersFunctionresolveExternalFragmentsSyncWithSources
( options: ExternalFragmentResolverOptions, filterToRequiredFragments = true, )
packages/loaders/external-fragment/src/resolve.ts:894
↓ 3 callersFunctionresolveExternalFragmentsWithSources
( options: ExternalFragmentResolverOptions, filterToRequiredFragments = true, )
packages/loaders/external-fragment/src/resolve.ts:844
↓ 3 callersFunctionresolveImportName
(link: FederatedLink, elementName: string)
packages/merge/src/links.ts:41
↓ 3 callersFunctionreturnStreamIterators
()
packages/executor/src/execution/incremental.ts:743
↓ 3 callersFunctionrewireTypes
( originalTypeMap: Record<string, GraphQLNamedType | null>, directives: ReadonlyArray<GraphQLDirective>, )
packages/utils/src/rewire.ts:31
↓ 3 callersFunctionsetScalarConfigProperty
( target: Record<string, any>, propName: string, value: unknown, )
packages/schema/src/addResolversToSchema.ts:164
↓ 3 callersFunctionsubscribe
(observer)
packages/executors/legacy-ws/src/index.ts:72
↓ 3 callersFunctionsubscribe
()
packages/executor/src/execution/__tests__/subscribe.test.ts:283
↓ 3 callersFunctionswitchProtocols
(pointer: string, protocolMap: Record<string, string>)
packages/loaders/url/src/index.ts:489
↓ 3 callersMethodtoBeSimilarString
* Normalizes whitespace and performs string comparisons
packages/testing/to-be-similar-string.ts:11
↓ 3 callersFunctiontoError
(error: unknown)
packages/load/src/utils/custom-loader.ts:111
↓ 3 callersFunctiontoImportSpecifier
(specifier: string)
packages/loaders/code-file/src/to-import-specifier.ts:17
↓ 3 callersFunctiontoJSONDeep
* Deeply transforms an arbitrary value to a JSON-safe value by calling toJSON * on any nested value which defines it.
packages/executor/src/__testUtils__/expectJSON.ts:25
← previousnext →101–200 of 1,747, ranked by callers