MCPcopy Create free account

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

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

↓ 1 callersFunctionassertGraphQLScalerType
(input: unknown)
packages/testing/assertion.ts:31
↓ 1 callersFunctionassertGraphQLUnionType
(input: unknown)
packages/testing/assertion.ts:43
↓ 1 callersFunctionassertInputObjectTypeDefinitionNode
( input: ASTNode, )
packages/testing/assertion.ts:104
↓ 1 callersFunctionassertListValueNode
(input: ASTNode)
packages/testing/assertion.ts:112
↓ 1 callersFunctionassertNamedTypeNode
(input: ASTNode)
packages/testing/assertion.ts:90
↓ 1 callersFunctionassertNonMaybe
(input: T)
packages/loaders/github/tests/schema-from-github.spec.ts:31
↓ 1 callersFunctionassertNonMaybe
(input: T)
packages/load/tests/loaders/schema/schema-from-export.spec.ts:10
↓ 1 callersFunctionassertNonMaybe
(input: T)
packages/load/tests/loaders/schema/schema-from-json.spec.ts:12
↓ 1 callersFunctionassertNonMaybe
(input: T)
packages/load/tests/loaders/schema/schema-from-typedefs.spec.ts:12
↓ 1 callersFunctionassertObjectTypeDefinitionNode
( input: ASTNode, )
packages/testing/assertion.ts:66
↓ 1 callersFunctionassertOptionsError
(resolverValidationOptions: IResolverValidationOptions)
packages/schema/tests/schemaGenerator.test.ts:1745
↓ 1 callersFunctionassertResolversPresent
( schema: GraphQLSchema, resolverValidationOptions: IResolverValidationOptions = {}, )
packages/schema/src/assertResolversPresent.ts:4
↓ 1 callersFunctionassertScalarTypeDefinitionNode
( input: ASTNode, )
packages/testing/assertion.ts:96
↓ 1 callersFunctionassertStringArray
(input: Array<unknown>)
packages/utils/tests/mapSchema.test.ts:603
↓ 1 callersFunctionassertUnionTypeDefinitionNode
( input: ASTNode, )
packages/testing/assertion.ts:82
↓ 1 callersFunctionassertUniqueArgsForAlias
* @private * TODO(T19327202) This is redundant with OverlappingFieldsCanBeMergedRule once * it can be enabled.
packages/relay-compiler/lib/transforms/FlattenTransform.js:363
↓ 1 callersFunctionastFromDirective
( directive: GraphQLDirective, schema?: GraphQLSchema, pathToDirectivesInExtensions?: Array<string>, )
packages/utils/src/print-schema-with-directives.ts:197
↓ 1 callersFunctionastFromEnumType
( type: GraphQLEnumType, schema: GraphQLSchema, pathToDirectivesInExtensions?: Array<string>, )
packages/utils/src/print-schema-with-directives.ts:388
↓ 1 callersFunctionastFromEnumValue
( value: GraphQLEnumValue, schema: GraphQLSchema, pathToDirectivesInExtensions?: Array<string>, )
packages/utils/src/print-schema-with-directives.ts:479
↓ 1 callersFunctionastFromInputField
( field: GraphQLInputField, schema: GraphQLSchema, pathToDirectivesInExtensions?: Array<string>, )
packages/utils/src/print-schema-with-directives.ts:460
↓ 1 callersFunctionastFromInputObjectType
( type: GraphQLInputObjectType, schema: GraphQLSchema, pathToDirectivesInExtensions?: Array<string>, )
packages/utils/src/print-schema-with-directives.ts:368
↓ 1 callersFunctionastFromInterfaceType
( type: GraphQLInterfaceType, schema: GraphQLSchema, pathToDirectivesInExtensions?: Array<string>, )
packages/utils/src/print-schema-with-directives.ts:323
↓ 1 callersFunctionastFromObjectType
( type: GraphQLObjectType, schema: GraphQLSchema, pathToDirectivesInExtensions?: Array<string>, )
packages/utils/src/print-schema-with-directives.ts:301
↓ 1 callersFunctionastFromScalarType
( type: GraphQLScalarType, schema: GraphQLSchema, pathToDirectivesInExtensions?: Array<string>, )
packages/utils/src/print-schema-with-directives.ts:408
↓ 1 callersFunctionastFromSchema
( schema: GraphQLSchema, pathToDirectivesInExtensions?: Array<string>, )
packages/utils/src/print-schema-with-directives.ts:128
↓ 1 callersFunctionastFromUnionType
( type: GraphQLUnionType, schema: GraphQLSchema, pathToDirectivesInExtensions?: Array<string>, )
packages/utils/src/print-schema-with-directives.ts:350
↓ 1 callersFunctionauthDirective
( directiveName: string, getUserFn: (token: string) => { hasRole: (role: string) => boolean },
packages/utils/tests/mapSchema.test.ts:493
↓ 1 callersFunctionb
()
packages/executor/src/execution/__tests__/directives-test.ts:18
↓ 1 callersMethodb
()
packages/utils/tests/mergeDeep.test.ts:28
↓ 1 callersFunctionbar
(..._args: any[])
packages/load-files/tests/test-assets/11/1.spec.ts:1
↓ 1 callersFunctionblock
* Given array, print each item on its own line, wrapped in an * indented "{ }" block.
packages/utils/src/comments.ts:164
↓ 1 callersFunctionbuildArgumentDefinitions
* @private
packages/relay-compiler/lib/core/RelayParser.js:1667
↓ 1 callersFunctionbuildDependencyMap
(nodes)
packages/relay-compiler/lib/runner/GraphQLASTNodeGroup.js:31
↓ 1 callersFunctionbuildFixedSchema
(schema: GraphQLSchema, options: BuildSchemaOptions & SchemaPrintOptions)
packages/utils/src/fixSchemaAst.ts:5
↓ 1 callersFunctionbuildFullDefinitionMap
(dependenciesMap: Map<string, Set<DefinitionNode>>)
packages/import/src/index.ts:608
↓ 1 callersFunctionbuildIgnoreGlob
(path: string)
packages/loaders/json-file/src/index.ts:29
↓ 1 callersFunctionbuildIgnoreGlob
(path: string)
packages/loaders/graphql-file/src/index.ts:53
↓ 1 callersFunctionbuildIgnoreGlob
(path: string)
packages/loaders/code-file/src/index.ts:66
↓ 1 callersFunctionbuildInlineFragmentSelectionSetKey
(nodes: readonly ASTNode[])
packages/documents/src/sort-executable-nodes.ts:94
↓ 1 callersFunctionbuildOperationAndCollectVariables
({ schema, fieldName, kind, models, ignore, depthLimit, circularReferenceDepth, argNames, se
packages/utils/src/build-operation-for-field.ts:107
↓ 1 callersFunctionbuildOperationNodeForField
({ schema, kind, field, models, ignore = [], depthLimit, circularReferenceDepth, argNames, s
packages/utils/src/build-operation-for-field.ts:59
↓ 1 callersFunctionbuildPerEventExecutionContext
( exeContext: ExecutionContext, payload: unknown, )
packages/executor/src/execution/execute.ts:541
↓ 1 callersFunctionbuildRefetchMap
* Walk the documents of a compiler context and create a mapping of * refetch operation names to the source fragment from which the refetch * operati
packages/relay-compiler/lib/transforms/RefetchableFragmentTransform.js:112
↓ 1 callersFunctionbuildRefetchOperation
* Builds a query to refetch the given fragment or throws if we have not way to * generate one.
packages/relay-compiler/lib/transforms/query-generators/index.js:41
↓ 1 callersFunctionbuildResponse
* Given a completed execution context and data, build the `{ errors, data }` * response defined by the "Response" section of the GraphQL specificatio
packages/executor/src/execution/execute.ts:359
↓ 1 callersMethodbuildSubscriptionExecutor
( subscriptionsEndpoint: string, fetch: AsyncFetchFn | SyncFetchFn, importFn: AsyncImportFn | Sync
packages/loaders/url/src/index.ts:261
↓ 1 callersMethodbuildWSExecutor
( subscriptionsEndpoint: string, webSocketImpl: typeof WebSocket, connectionParams?: Record<string
packages/loaders/url/src/index.ts:155
↓ 1 callersFunctionbuildWSLegacyExecutor
( subscriptionsEndpoint: string, WebSocketImpl: typeof WebSocket, options?: LegacyWSExecutorOpts, )
packages/executors/legacy-ws/src/index.ts:27
↓ 1 callersMethodbuildWSLegacyExecutor
( subscriptionsEndpoint: string, WebSocketImpl: typeof WebSocket, options?: LoadFromUrlOptions,
packages/loaders/url/src/index.ts:172
↓ 1 callersFunctionbuildWatchExpression
(config)
packages/relay-compiler/lib/bin/RelayCompilerMain.js:67
↓ 1 callersFunctioncacheKeyFromFragment
(fragment: FragmentDefinitionNode)
packages/webpack-loader/src/parser.ts:21
↓ 1 callersFunctioncacheResult
(resultNodes: readonly ASTNode[])
packages/documents/src/sort-executable-nodes.ts:37
↓ 1 callersMethodcacheable
()
packages/jest-transform/src/index.ts:22
↓ 1 callersMethodcanLoad
(pointer: string, options: JsonFileLoaderOptions)
packages/loaders/json-file/src/index.ts:55
↓ 1 callersMethodcanLoad
(pointer: string)
packages/loaders/git/src/index.ts:52
↓ 1 callersMethodcanLoad
(ptr: string)
packages/loaders/apollo-engine/src/index.ts:49
↓ 1 callersMethodcanLoad
(pointer: string, options: CodeFileLoaderOptions)
packages/loaders/code-file/src/index.ts:97
↓ 1 callersMethodcanLoadSync
(pointer: string, options: JsonFileLoaderOptions)
packages/loaders/json-file/src/index.ts:73
↓ 1 callersFunctionchainFunctions
(funcs: any[])
packages/resolvers-composition/src/chain-functions.ts:1
↓ 1 callersFunctionchainResolvers
( resolvers: Array<Maybe<GraphQLFieldResolver<any, any, TArgs>>>, )
packages/schema/src/chainResolvers.ts:4
↓ 1 callersFunctioncheckErrors
(expectedCount: number, ...expectedNames: Array<string>)
packages/utils/tests/mapSchema.test.ts:609
↓ 1 callersFunctioncheckForResolveTypeResolver
( schema: GraphQLSchema, requireResolversForResolveType?: ValidatorBehavior, )
packages/schema/src/checkForResolveTypeResolver.ts:5
↓ 1 callersFunctioncheckFragmentSpreadTypeCompatibility
( schema, fragmentType, parentType, fragmentName, fragmentTypeAST, parentTypeAST, )
packages/relay-compiler/lib/core/RelayParser.js:1750
↓ 1 callersFunctionclean
(doc: string | ASTNode)
packages/utils/tests/build-operation-node-for-field.spec.ts:5
↓ 1 callersFunctioncleanupWebsocket
()
packages/executors/legacy-ws/src/index.ts:78
↓ 1 callersFunctioncoerceVariableValues
( schema: GraphQLSchema, varDefNodes: ReadonlyArray<VariableDefinitionNode>, inputs: { readonly [variabl
packages/executor/src/execution/values.ts:56
↓ 1 callersFunctioncollectAndExecuteSubfields
( exeContext: ExecutionContext, returnType: GraphQLObjectType, fieldNodes: Array<FieldNode>, path: Pat
packages/executor/src/execution/execute.ts:1463
↓ 1 callersFunctioncollectComment
(node: NamedDefinitionNode)
packages/utils/src/comments.ts:28
↓ 1 callersFunctioncollectDuplicates
(value)
packages/relay-compiler/lib/util/dedupeJSONStringify.js:72
↓ 1 callersFunctioncollectMetadata
(value)
packages/relay-compiler/lib/util/dedupeJSONStringify.js:32
↓ 1 callersFunctioncollectSchemaParts
(sources: Source[])
packages/load/src/schema.ts:112
↓ 1 callersFunctioncollectSources
({ pointerOptionMap, options, }: { pointerOptionMap: { [key: string]: any; }; options: LoadTyped
packages/load/src/load-typedefs/collect-sources.ts:24
↓ 1 callersFunctioncollectSourcesSync
({ pointerOptionMap, options, }: { pointerOptionMap: { [key: string]: any; }; options: LoadTyped
packages/load/src/load-typedefs/collect-sources.ts:63
↓ 1 callersFunctioncollectValidSources
(input: Input, addValidSource: AddValidSource)
packages/load/src/load-typedefs/parse.ts:113
↓ 1 callersFunctioncompareNodes
(a: ASTNode, b: ASTNode, customFn?: (a: any, b: any) => number)
packages/utils/src/helpers.ts:121
↓ 1 callersFunctioncompile
(_x)
packages/relay-compiler/lib/codegen/CodegenRunner.js:142
↓ 1 callersFunctioncompileAll
(_ref)
packages/relay-compiler/lib/codegen/RelayFileWriter.js:58
↓ 1 callersFunctioncomplete
(rootValue: unknown)
packages/executor/src/execution/__tests__/lists-test.ts:14
↓ 1 callersFunctioncomplete
(document: DocumentNode, rootValue: unknown = {})
packages/executor/src/execution/__tests__/stream-test.ts:79
↓ 1 callersFunctioncomplete
(document: DocumentNode)
packages/executor/src/execution/__tests__/defer-test.ts:90
↓ 1 callersFunctioncompleteAbstractValue
* Complete a value of an abstract type by determining the runtime object type * of that value, then complete the value for that type.
packages/executor/src/execution/execute.ts:1298
↓ 1 callersFunctioncompleteAsync
(document: DocumentNode, numCalls: number, rootValue: unknown = {})
packages/executor/src/execution/__tests__/stream-test.ts:97
↓ 1 callersFunctioncompleteAsyncIteratorValue
* Complete a async iterator value by completing the result and calling * recursively until all the results are completed.
packages/executor/src/execution/execute.ts:1021
↓ 1 callersFunctioncompleteLeafValue
* Complete a Scalar or Enum by serializing to a valid value, returning * null if serialization is not possible.
packages/executor/src/execution/execute.ts:1269
↓ 1 callersFunctioncompleteListValue
* Complete a list value by completing each item in the list with the * inner type
packages/executor/src/execution/execute.ts:1102
↓ 1 callersFunctioncompleteObjectList
(resolve: GraphQLFieldResolver<{ index: number }, unknown>)
packages/executor/src/execution/__tests__/lists-test.ts:78
↓ 1 callersFunctioncomposeResolvers
( resolvers: Resolvers, mapping: ResolversComposerMapping<Resolvers> = {}, )
packages/resolvers-composition/src/resolvers-composition.ts:101
↓ 1 callersFunctioncopyOwnProps
(target: Record<string, any>, ...sources: Array<Record<string, any>>)
packages/mock/src/utils.ts:54
↓ 1 callersFunctioncopyOwnPropsIfNotPresent
(target: Record<string, any>, source: Record<string, any>)
packages/mock/src/utils.ts:39
↓ 1 callersFunctioncowMap
* Maps an array with copy-on-write semantics. * `null` return values from the map function are removals.
packages/relay-compiler/lib/transforms/ClientExtensionsTransform.js:225
↓ 1 callersFunctioncreate
(baseSchema, schemaExtensionDocuments, schemaExtensions)
packages/relay-compiler/lib/core/Schema.js:2038
↓ 1 callersFunctioncreateApolloRequestHandler
(executor: Executor)
packages/executors/apollo-link/src/index.ts:6
↓ 1 callersFunctioncreateAsyncIterator
(array: T[])
packages/resolvers-composition/tests/resolvers-composition.spec.ts:8
↓ 1 callersFunctioncreateDefaultRules
()
packages/utils/src/validate-documents.ts:47
↓ 1 callersFunctioncreateNamedStub
( name: string, type: any, )
packages/utils/src/stub.ts:23
↓ 1 callersFunctioncreateNewSchemaWithResolvers
( schema: GraphQLSchema, resolvers: IResolvers, defaultFieldResolver?: GraphQLFieldResolver<any, any>, )
packages/schema/src/addResolversToSchema.ts:279
↓ 1 callersFunctioncreateNext
(i: number)
packages/load/src/utils/helpers.ts:30
↓ 1 callersFunctioncreateResolvablePromise
()
packages/executor/src/execution/__tests__/stream-test.ts:120
↓ 1 callersFunctioncreateServerHttpLink
(options: any)
packages/links/src/createServerHttpLink.ts:9
↓ 1 callersFunctioncreateSourceEventStreamImpl
( exeContext: ExecutionContext, )
packages/executor/src/execution/execute.ts:1764
← previousnext →401–500 of 1,469, ranked by callers