MCPcopy Create free account

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

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

↓ 1 callersFunctionrewireDirective
(directive: GraphQLDirective)
packages/utils/src/rewire.ts:83
↓ 1 callersFunctionrewireFields
(fields: GraphQLFieldConfigMap<any, any>)
packages/utils/src/rewire.ts:155
↓ 1 callersFunctionrewireInputFields
(fields: GraphQLInputFieldConfigMap)
packages/utils/src/rewire.ts:169
↓ 1 callersFunctionrewireNamedTypes
(namedTypes: Iterable<T>)
packages/utils/src/rewire.ts:182
↓ 1 callersFunctionrewriteVariablesLikeWrap
( varType: GraphQLInputType, value: unknown, mapping: Record<string, Record<string, string>>, )
packages/utils/tests/transformInputValue.test.ts:99
↓ 1 callersFunctionrun
( fieldDirectives: string, transformers: Array<(schema: GraphQLSchema) => GraphQLSchema>, )
packages/utils/tests/schema-directive-examples.spec.ts:46
↓ 1 callersFunctionrunCapture
(command, args, opts = {})
scripts/bench-ci.mjs:46
↓ 1 callersFunctionsafeChangeForFieldType
( oldType: TypeNode, newType: TypeNode, ignoreNullability = false, )
packages/merge/src/typedefs-mergers/fields.ts:122
↓ 1 callersFunctionscanForFiles
( globStr: string | string[], globOptions: MatchFilesOptions = {}, )
packages/load-files/src/index.ts:190
↓ 1 callersFunctionscanForFilesSync
( globStr: string | string[], globOptions: MatchFilesOptions = {}, )
packages/load-files/src/index.ts:68
↓ 1 callersFunctionschemaCoordinateInfo
`locatedError` only needs fieldName + parentType.name for schema coordinates.
packages/executor/src/execution/execute.ts:1296
↓ 1 callersFunctionschemaWithListInput
(argName = 'input', argType = 'SomeInput')
packages/utils/tests/transformInputValue.test.ts:123
↓ 1 callersFunctionschemaWithSdl
(fieldDirectives: string)
packages/utils/tests/schema-directive-examples.spec.ts:24
↓ 1 callersFunctionschemaWithSingletonListDefaults
()
packages/schema/tests/default-value-list-coercion.test.ts:15
↓ 1 callersFunctionselectionSetDependsOnVariables
(selectionSet: SelectionSetNode)
packages/utils/src/collectFields.ts:45
↓ 1 callersMethodsetImpl
(args: SetArgs<KeyT>)
packages/mock/src/MockStore.ts:292
↓ 1 callersMethodsetIsCompletedIterator
()
packages/executor/src/execution/incremental.ts:371
↓ 1 callersFunctionsetObjectKeyPath
(obj: Record<string, any>, keyPath: readonly unknown[], value: any)
packages/utils/src/mergeIncrementalResult.ts:135
↓ 1 callersFunctionsetup
(nullable = true)
packages/executor/src/execution/__tests__/scalar-list-paths-test.ts:5
↓ 1 callersFunctionsha1
(content)
packages/relay-compiler/lib/runner/Artifacts.js:338
↓ 1 callersFunctionshouldFlattenInlineFragment
* @private
packages/relay-compiler/lib/transforms/FlattenTransform.js:376
↓ 1 callersFunctionskipIf
(condition: boolean)
packages/graphql-tag-pluck/tests/graphql-tag-pluck.test.ts:464
↓ 1 callersFunctionskipPruning
packages/utils/tests/prune.test.ts:621
↓ 1 callersFunctionsortErrorsByPathSegment
( errors: ReadonlyArray<GraphQLError>, pathIndex: number, )
packages/utils/src/visitResult.ts:466
↓ 1 callersFunctionsortExecutableDocument
(document: DocumentNode)
packages/documents/src/sort-executable-document.ts:7
↓ 1 callersFunctionsortNodesByStringKey
( nodes: readonly TNode[], getKey: (node: TNode) => string | undefined, )
packages/documents/src/sort-executable-nodes.ts:117
↓ 1 callersFunctionsortRecursive
(a: ASTNode)
packages/testing/to-be-similar-gql-doc.ts:17
↓ 1 callersFunctionsortSchemaTypesOnly
(schema: GraphQLSchema)
packages/load/src/schema.ts:156
↓ 1 callersFunctionsortSelections
* Sort inline fragments and conditions after other selections.
packages/relay-compiler/lib/transforms/SkipRedundantNodesTransform.js:259
↓ 1 callersFunctionsource
()
packages/executor/src/execution/__tests__/flattenAsyncIterable-test.ts:5
↓ 1 callersFunctionsplitWords
(str: string)
packages/graphql-tag-pluck/src/utils.ts:44
↓ 1 callersFunctionstartMessage
(socket: FakeSocket)
packages/executors/legacy-ws/tests/legacy-ws.spec.ts:78
↓ 1 callersFunctionstartServer
(e: Express)
packages/links/tests/upload.test.ts:28
↓ 1 callersFunctionstartWait
* Start an async wait profile with a particular name, returns an ID to pass * to end(). * * Other profiles may start before this one ends, which wi
packages/relay-compiler/lib/core/GraphQLCompilerProfiler.js:243
↓ 1 callersFunctionstreamToString
(stream: Readable)
packages/links/tests/upload.test.ts:19
↓ 1 callersFunctionstringFromConditionalExport
(entry: unknown)
packages/load/src/utils/custom-loader.ts:41
↓ 1 callersFunctionstringToHash
(str: string)
packages/load/src/utils/helpers.ts:4
↓ 1 callersFunctionstripBOM
(content: string)
packages/utils/src/parse-graphql-json.ts:5
↓ 1 callersFunctionstripWhitespaces
(str: string)
packages/merge/tests/utils.ts:1
↓ 1 callersFunctionstripWhitespaces
(str: any)
packages/load-files/tests/file-scanner.spec.ts:85
↓ 1 callersFunctionsubscribe
( args: ExecutionArgs<TData, TVariables, TContext>, )
packages/executor/src/execution/execute.ts:2321
↓ 1 callersFunctionsubscribeWithBadFn
( subscribeFn: () => unknown, )
packages/executor/src/execution/__tests__/subscribe.test.ts:173
↓ 1 callersMethodsupports
(...args: [string] | [number, number] | [FederatedLinkUrl] | [null])
packages/import/src/link/link.ts:123
↓ 1 callersFunctiontakeMatchingAstDirectiveNode
( astDirectiveNodes: Array<TDirectiveNode>, directiveNode: TDirectiveNode, )
packages/utils/src/print-schema-with-directives.ts:587
↓ 1 callersFunctiontakeOneOf
(arr: T[], behavior: MockGenerationBehavior)
packages/mock/src/utils.ts:20
↓ 1 callersMethodterminate
()
packages/executors/legacy-ws/tests/legacy-ws.spec.ts:40
↓ 1 callersFunctiontestCondition
* Determines whether a condition statically passes/fails or is unknown * (variable).
packages/relay-compiler/lib/transforms/SkipUnreachableNodeTransform.js:170
↓ 1 callersFunctiontestGraphqlMultipartRequest
(query: string, port: number)
packages/links/tests/upload.test.ts:40
↓ 1 callersFunctiontestResolversDir
({ path, expected, note, extensions, compareValue, ignoreIndex, ignoredExtensions, }: TestDirOpt
packages/load-files/tests/file-scanner.spec.ts:42
↓ 1 callersFunctiontestSchema
(testField: GraphQLFieldConfig<any, any>)
packages/executor/src/execution/__tests__/resolve-test.ts:17
↓ 1 callersFunctiontestSchemaDir
({ path, expected, note, extensions, ignoreIndex }: TestDirOptions)
packages/load-files/tests/file-scanner.spec.ts:7
↓ 1 callersFunctionthrowError
(directiveName, directiveLoc, clientExtensionLoc)
packages/relay-compiler/lib/transforms/ValidateServerOnlyDirectivesTransform.js:122
↓ 1 callersFunctiontick
()
packages/loaders/url/tests/url-loader-browser.spec.ts:62
↓ 1 callersFunctiontoPendingResult
( state: IncrementalPublisherState, record: AsyncPayloadRecord, )
packages/executor/src/execution/incremental.ts:417
↓ 1 callersFunctiontoUnixPath
(path: string)
packages/load-files/src/matchFiles.ts:128
↓ 1 callersFunctiontransform
* Transforms untyped GraphQL parse trees (ASTs) into Relay Compiler's * internal, strongly-typed intermediate representation (IR).
packages/relay-compiler/lib/core/RelayParser.js:88
↓ 1 callersFunctiontransform
* Transforms a value such that any transitive CodeMarker strings are replaced * with the value of the named module in the given module map.
packages/relay-compiler/lib/util/CodeMarker.js:39
↓ 1 callersFunctiontransformCondition
(context, fragments, scope, node, errorContext)
packages/relay-compiler/lib/transforms/ApplyFragmentArgumentTransform.js:225
↓ 1 callersFunctiontransformDeferStreamNode
(context, fragments, scope, node, errorContext)
packages/relay-compiler/lib/transforms/ApplyFragmentArgumentTransform.js:127
↓ 1 callersFunctiontransformField
(context, fragments, scope, field, errorContext)
packages/relay-compiler/lib/transforms/ApplyFragmentArgumentTransform.js:193
↓ 1 callersFunctiontransformFragment
* Apply arguments to a fragment, creating a new fragment (with the given name) * with all values recursively applied.
packages/relay-compiler/lib/transforms/ApplyFragmentArgumentTransform.js:406
↓ 1 callersFunctiontransformFragmentSpread
(context, fragments, scope, spread, errorContext)
packages/relay-compiler/lib/transforms/ApplyFragmentArgumentTransform.js:165
↓ 1 callersFunctiontransformInputType
(schema, type, state)
packages/relay-compiler/lib/language/javascript/RelayFlowTypeTransformers.js:80
↓ 1 callersFunctiontransformLiteralValue
* @private
packages/relay-compiler/lib/core/RelayParser.js:1610
↓ 1 callersFunctiontransformNode
(context, fragments, node)
packages/relay-compiler/lib/transforms/SkipUnreachableNodeTransform.js:56
↓ 1 callersFunctiontransformNode
* The most straightforward approach would be two passes: one to record the * structure of the document, one to prune duplicates. This implementation
packages/relay-compiler/lib/transforms/SkipRedundantNodesTransform.js:152
↓ 1 callersFunctiontransformNonNullLiteral
* Transforms and validates non-null literal (non-variable) values * according to the expected type.
packages/relay-compiler/lib/core/RelayParser.js:1380
↓ 1 callersFunctiontransformNonNullableInputType
(schema, type, state)
packages/relay-compiler/lib/language/javascript/RelayFlowTypeTransformers.js:88
↓ 1 callersFunctiontransformNonNullableScalarType
(schema, type, state, objectProps)
packages/relay-compiler/lib/language/javascript/RelayFlowTypeTransformers.js:33
↓ 1 callersFunctiontransformRoot
(context, transformed, root)
packages/relay-compiler/lib/core/inferRootArgumentDefinitions.js:89
↓ 1 callersFunctiontransformScalarType
(schema, type, state, objectProps)
packages/relay-compiler/lib/language/javascript/RelayFlowTypeTransformers.js:23
↓ 1 callersFunctiontraverseSelections
(node, compilerContext, parentType)
packages/relay-compiler/lib/transforms/ClientExtensionsTransform.js:98
↓ 1 callersFunctiontryToLoadFromExport
( rawFilePath: string, )
packages/loaders/code-file/src/load-from-module.ts:8
↓ 1 callersFunctiontryToLoadFromExportSync
(rawFilePath: string)
packages/loaders/code-file/src/load-from-module.ts:25
↓ 1 callersFunctiontypeNeedsRewire
( type: GraphQLNamedType, referenceTypeMap: Record<string, GraphQLNamedType | null>, needsRewire: Set<st
packages/utils/src/rewire.ts:236
↓ 1 callersFunctiontypesThatNeedRewire
( typeMap: Record<string, GraphQLNamedType>, referenceTypeMap: Record<string, GraphQLNamedType | null>, )
packages/utils/src/rewire.ts:213
↓ 1 callersFunctionuniqueIDDirective
(directiveName: string)
packages/utils/tests/mapSchema.test.ts:871
↓ 1 callersFunctionunixifyWithDriverLetter
(path: string)
packages/loaders/graphql-file/src/index.ts:23
↓ 1 callersFunctionunwrap
* @private
packages/relay-compiler/lib/core/Schema.js:202
↓ 1 callersFunctionupdateObject
( object: Record<string, any>, responseKey: string, newValue: any, typeVisitorMap: ObjectValueVisitor,
packages/utils/src/visitResult.ts:302
↓ 1 callersFunctionupperDirective
(directiveName: string)
packages/utils/tests/mapSchema.test.ts:271
↓ 1 callersFunctionuseComments
(input: Input)
packages/load/src/load-typedefs/parse.ts:105
↓ 1 callersFunctionuseExecutor
( executor: Executor, opts?: ExecutorPluginOpts, )
packages/executors/yoga/src/index.ts:9
↓ 1 callersFunctionuseExecutor
( executor: Executor, opts?: ExecutorPluginOpts, )
packages/executors/envelop/src/index.ts:26
↓ 1 callersFunctionuseKindsFilter
(input: Input)
packages/load/src/load-typedefs/parse.ts:99
↓ 1 callersFunctionuseLoaderAsync
( source: string, options: any, loaderThis: Record<string, unknown> = {}, )
packages/webpack-loader/tests/loader.test.ts:299
↓ 1 callersFunctionuseQueue
(options?: { concurrency?: number })
packages/load/src/utils/queue.ts:5
↓ 1 callersFunctionuseStack
(...fns: Array<StackFn<T>>)
packages/load/src/utils/helpers.ts:26
↓ 1 callersFunctionuseSyncQueue
()
packages/load/src/utils/queue.ts:109
↓ 1 callersFunctionuserTypeMap
(schema: ReturnType<typeof buildSchema>)
packages/utils/tests/rewire.test.ts:11
↓ 1 callersFunctionvalidateGraphQlDocuments
( schema: GraphQLSchema, documents: DocumentNode[], rules: ValidationRule[] = createDefaultRules(), )
packages/utils/src/validate-documents.ts:14
↓ 1 callersFunctionvalidateTemplate
(_ref, moduleName, filePath)
packages/relay-compiler/lib/core/RelayFindGraphQLTags.js:48
↓ 1 callersFunctionvalueMatchesCriteria
(value: any, criteria: any)
packages/utils/src/valueMatchesCriteria.ts:1
↓ 1 callersFunctionvalueNodesAreEquivalent
(a: ValueNode, b: ValueNode)
packages/utils/src/print-schema-with-directives.ts:618
↓ 1 callersFunctionvalues
()
packages/executor/src/execution/__tests__/scalar-list-paths-test.ts:49
↓ 1 callersFunctionvariableValuesFromResult
( result: ReturnType<typeof getVariableValues>, )
packages/executor/src/execution/__tests__/variables-test.ts:32
↓ 1 callersFunctionvisitData
(data: any, enter?: ValueVisitor, leave?: ValueVisitor)
packages/utils/src/visitResult.ts:54
↓ 1 callersFunctionvisitDefinition
( definition: DefinitionNode, definitionsByName: Map<string, Set<DefinitionNode>>, dependenciesByDefinit
packages/import/src/index.ts:495
↓ 1 callersFunctionvisitDirectiveDefinitionNode
( node: DirectiveDefinitionNode, dependencySet: DependencySet, dependenciesByDefinitionName: Dependencie
packages/import/src/index.ts:1217
↓ 1 callersFunctionvisitEnumTypeDefinitionNode
(node: EnumTypeDefinitionNode, dependencySet: DependencySet)
packages/import/src/index.ts:1196
← previousnext →1,101–1,200 of 1,747, ranked by callers