MCPcopy Create free account

hub / github.com/graphql-hive/graphql-modules / functions

Functions415 in github.com/graphql-hive/graphql-modules

↓ 135 callersFunctiongql
( literals: ReadonlyArray<string> | Readonly<string> )
packages/graphql-modules/src/shared/gql.ts:3
↓ 110 callersMethodget
(token: Object)
packages/graphql-modules/src/di/registry.ts:22
↓ 89 callersFunctioncreateModule
(config: ModuleConfig)
packages/graphql-modules/src/module/module.ts:24
↓ 76 callersFunctionInjectable
(options?: ProviderOptions)
packages/graphql-modules/src/di/decorators.ts:16
↓ 64 callersFunctioncreateApplication
( applicationConfig: ApplicationConfig )
packages/graphql-modules/src/application/application.ts:61
↓ 21 callersMethodresolve
(providers: Provider[])
packages/graphql-modules/src/di/injector.ts:102
↓ 20 callersMethodlog
()
packages/graphql-modules/tests/di-providers.spec.ts:50
↓ 15 callersFunctionInject
( type: Type<any> | InjectionToken<any> )
packages/graphql-modules/src/di/decorators.ts:72
↓ 14 callersFunctioncomposeMessage
(...lines: string[])
packages/graphql-modules/src/shared/errors.ts:80
↓ 13 callersFunctionnext
()
packages/graphql-modules/src/shared/utils.ts:50
↓ 12 callersFunctionExecutionContext
()
packages/graphql-modules/src/di/decorators.ts:91
↓ 12 callersMethodlorem
()
packages/graphql-modules/tests/di-providers.spec.ts:651
↓ 12 callersFunctionstringify
(token: any)
packages/graphql-modules/src/di/utils.ts:33
↓ 12 callersFunctionuseLocation
({ dirname, id }: { id: ID; dirname?: string })
packages/graphql-modules/src/shared/errors.ts:61
↓ 12 callersFunctionwait
(ms: number)
packages/graphql-modules/tests/middleware-generic.spec.ts:3
↓ 11 callersMethodgetName
()
packages/graphql-modules/tests/execution-context.spec.ts:433
↓ 11 callersFunctionisDefined
(val: T | null | undefined)
packages/graphql-modules/src/shared/utils.ts:7
↓ 11 callersFunctionreadInjectableMetadata
( type: Type<any>, throwOnMissing?: boolean )
packages/graphql-modules/src/di/metadata.ts:16
↓ 10 callersMethodcreateFromResolved
({ name, providers, parent, fallbackParent, globalProvidersMap, }: { name: string;
packages/graphql-modules/src/di/injector.ts:80
↓ 10 callersFunctionwriteResolverMetadata
( resolver: Function | GraphQLFieldExtensions<any, any, any>, config: ModuleConfig )
packages/graphql-modules/src/module/resolvers.ts:423
↓ 9 callersMethodcreateExecution
* Creates a `execute` function that runs the execution phase of GraphQL. * Important when using GraphQL Queries and Mutations.
packages/graphql-modules/src/application/types.ts:67
↓ 9 callersFunctioncreateFn
(label: string)
packages/graphql-modules/tests/middleware-resolvers.spec.ts:11
↓ 9 callersMethodcreateOperationController
* Take over control of GraphQL Operation
packages/graphql-modules/src/application/types.ts:51
↓ 7 callersFunctionExtendableBuiltin
(cls: T)
packages/graphql-modules/src/shared/errors.ts:70
↓ 7 callersFunctioncreateMiddleware
( path: string[], middlewareMap?: MiddlewareMap )
packages/graphql-modules/src/shared/middleware.ts:68
↓ 7 callersMethodlorem
()
packages/graphql-modules/tests/di-errors.spec.ts:149
↓ 7 callersFunctionmiddleware
()
packages/graphql-modules/tests/middleware-resolvers.spec.ts:213
↓ 6 callersMethodall
()
packages/graphql-modules/tests/execution-context.spec.ts:36
↓ 6 callersFunctioncreateContext
()
packages/graphql-modules/tests/execution-context.spec.ts:92
↓ 6 callersMethoddestroy
* Destroys
packages/graphql-modules/src/application/types.ts:95
↓ 6 callersFunctionmoduleFactory
(config: ModuleConfig)
packages/graphql-modules/src/module/factory.ts:43
↓ 6 callersFunctionresolve
(title: string)
packages/graphql-modules/tests/subscription.spec.ts:92
↓ 5 callersMethodcreateApolloExecutor
* Experimental
packages/graphql-modules/src/application/types.ts:78
↓ 5 callersFunctiongraphql
(schema: GraphQLSchema, executeFn: typeof execute)
benchmark/basic.case.ts:133
↓ 5 callersMethodlisten
()
packages/graphql-modules/tests/subscription.spec.ts:38
↓ 4 callersFunctioncollectType
(typeName: string)
packages/graphql-modules/src/testing/test-module.ts:309
↓ 4 callersFunctioncontextBuilder
(context)
packages/graphql-modules/src/application/context.ts:88
↓ 4 callersFunctioncreateContext
()
packages/graphql-modules/tests/di-providers.spec.ts:182
↓ 4 callersFunctioncreateDeferred
()
packages/graphql-modules/tests/execution-context.spec.ts:1013
↓ 4 callersFunctionensureReflect
()
packages/graphql-modules/src/di/decorators.ts:10
↓ 4 callersFunctionexecute
( app: Application, inputs: Omit<ExecutionArgs, 'schema'> & { document: DocumentNode | TypedDocumentNo
packages/graphql-modules/src/testing/graphql.ts:6
↓ 4 callersMethodgetById
(id: string)
packages/graphql-modules/tests/testing.spec.ts:114
↓ 4 callersMethodgetEnv
()
packages/graphql-modules/tests/testing.spec.ts:519
↓ 4 callersMethodgetId
()
packages/graphql-modules/tests/execution-context.spec.ts:807
↓ 4 callersFunctionisNotSchema
(obj: any)
packages/graphql-modules/src/shared/utils.ts:110
↓ 4 callersMethodlog
()
packages/graphql-modules/tests/third-parties.spec.ts:69
↓ 4 callersFunctionresolveType
(type: TypeNode)
packages/graphql-modules/src/testing/test-module.ts:344
↓ 4 callersFunctionsnap
(label: string)
packages/graphql-modules/tests/memory-leak.spec.ts:105
↓ 4 callersMethodtoString
()
packages/graphql-modules/src/di/providers.ts:9
↓ 4 callersMethodɵgetModuleContext
( moduleId: ID, context: GraphQLModules.GlobalContext )
packages/graphql-modules/src/application/application.ts:34
↓ 3 callersMethod_getByKey
(key: Key, notFoundValue: any)
packages/graphql-modules/src/di/injector.ts:122
↓ 3 callersMethodall
()
packages/graphql-modules/tests/di-providers.spec.ts:70
↓ 3 callersFunctionattachGlobalProvidersMap
({ injector, globalProvidersMap, moduleInjectorGetter, }: { injector: ReflectiveInjector; globalProv
packages/graphql-modules/src/application/di.ts:56
↓ 3 callersFunctioncollectObjectDefinition
( node: | ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode | InputObjectTypeDefini
packages/graphql-modules/src/module/metadata.ts:34
↓ 3 callersFunctioncollectObjectExtension
( node: | ObjectTypeExtensionNode | InterfaceTypeExtensionNode | InputObjectTypeExtensio
packages/graphql-modules/src/module/metadata.ts:66
↓ 3 callersFunctioncompose
(middleware: Array<Middleware<TContext>>)
packages/graphql-modules/src/shared/middleware.ts:14
↓ 3 callersFunctionconstructResolvingPath
(keys: any[])
packages/graphql-modules/src/di/errors.ts:117
↓ 3 callersFunctioncreateContext
()
packages/graphql-modules/tests/subscription.spec.ts:109
↓ 3 callersMethodcreateSubscription
* Creates a `subscribe` function that runs the subscription phase of GraphQL. * Important when using GraphQL Subscriptions.
packages/graphql-modules/src/application/types.ts:59
↓ 3 callersFunctionensureInjectableMetadata
(type: Type<any>)
packages/graphql-modules/src/di/metadata.ts:29
↓ 3 callersFunctionhasPropValue
( obj: T, prop: K )
packages/graphql-modules/src/testing/test-module.ts:428
↓ 3 callersFunctioninjectionError
( injector: ReflectiveInjector, key: Key, constructResolvingMessage: (this: InjectionError) => string,
packages/graphql-modules/src/di/errors.ts:95
↓ 3 callersMethodinstantiateAll
()
packages/graphql-modules/src/di/injector.ts:200
↓ 3 callersFunctionisType
(v: any)
packages/graphql-modules/src/di/providers.ts:18
↓ 3 callersFunctionlazy
(getter: () => T)
packages/graphql-modules/src/module/factory.ts:27
↓ 3 callersFunctionmergeResolvers
* We iterate over every defined resolver and check if it's valid and not duplicated
packages/graphql-modules/src/module/resolvers.ts:213
↓ 3 callersFunctionmockedFactory
(newConfig?: ApplicationConfig)
packages/graphql-modules/src/testing/test-application.ts:11
↓ 3 callersFunctionresolveForwardRef
(type: any)
packages/graphql-modules/src/di/forward-ref.ts:19
↓ 3 callersFunctionrun
(onResult: (testResult: TestResult) => void)
benchmark/basic.case.ts:186
↓ 3 callersFunctionwrapResolver
* Wrap a resolver so we use module's context instead of app context. * Use a middleware if available. * Attach metadata to a resolver (we will see i
packages/graphql-modules/src/module/resolvers.ts:128
↓ 2 callersMethod_getObjByKeyId
(keyId: number)
packages/graphql-modules/src/di/injector.ts:174
↓ 2 callersMethodadd
(title: string)
packages/graphql-modules/tests/subscription.spec.ts:30
↓ 2 callersMethodaddProviders
(providers: ApplicationConfig['providers'])
packages/graphql-modules/src/application/types.ts:24
↓ 2 callersMethodall
()
benchmark/basic.case.ts:47
↓ 2 callersFunctionattachSymbols
(obj: O)
packages/graphql-modules/src/shared/utils.ts:123
↓ 2 callersFunctioncreateContext
()
packages/graphql-modules/tests/di-hooks.spec.ts:84
↓ 2 callersFunctioncreateExecution
(options)
packages/graphql-modules/src/application/execution.ts:20
↓ 2 callersFunctioncreateGlobalProvidersMap
({ modules, scope, }: { modules: ResolvedModule[]; scope: Scope; })
packages/graphql-modules/src/application/di.ts:19
↓ 2 callersMethodcreateSchemaForApollo
* @deprecated Use `createApolloExecutor`, `createExecution` and `createSubscription` methods instead.
packages/graphql-modules/src/application/types.ts:74
↓ 2 callersFunctioncreateSubscription
(options)
packages/graphql-modules/src/application/subscription.ts:23
↓ 2 callersMethodcurrentId
()
packages/graphql-modules/tests/operation-controller.spec.ts:246
↓ 2 callersFunctiondefine
(key: string | symbol)
packages/graphql-modules/src/application/context.ts:46
↓ 2 callersFunctiondefineUserContextAccessors
* Installs a getter-based view of `refs.context` onto `target` — every * string/symbol-keyed property of `source` (captured at call time) becomes *
packages/graphql-modules/src/application/context.ts:40
↓ 2 callersFunctiondependenciesFor
(type: any)
packages/graphql-modules/src/di/resolution.ts:162
↓ 2 callersFunctionexecutor
(input)
packages/graphql-modules/src/application/apollo.ts:92
↓ 2 callersFunctionextractToken
( param: InjectableParamMetadata, params: InjectableParamMetadata[] )
packages/graphql-modules/src/di/resolution.ts:207
↓ 2 callersFunctionfactory
(app)
packages/graphql-modules/src/module/factory.ts:69
↓ 2 callersFunctionforceFullGC
()
packages/graphql-modules/tests/memory-leak.spec.ts:53
↓ 2 callersFunctionforwardRef
(forwardRefFn: ForwardRefFn<T>)
packages/graphql-modules/src/di/forward-ref.ts:11
↓ 2 callersMethodget
(token: any, notFoundValue: any = _THROW_IF_NOT_FOUND)
packages/graphql-modules/src/di/injector.ts:114
↓ 2 callersFunctiongetModuleContext
( moduleId: string, ctx: GraphQLModules.GlobalContext )
packages/graphql-modules/src/application/context.ts:198
↓ 2 callersMethodgetUser
(id: number)
examples/basic-with-dependency-injection/src/modules/user/providers/users.ts:12
↓ 2 callersFunctionhasFields
( def: NamedDefinitionNode )
packages/graphql-modules/src/testing/test-module.ts:405
↓ 2 callersFunctionisAsyncIterable
(obj: any)
packages/graphql-modules/src/shared/utils.ts:27
↓ 2 callersFunctionisEnumResolver
(obj: any)
packages/graphql-modules/src/module/resolvers.ts:549
↓ 2 callersFunctionisNamedTypeDefinition
(def: any)
packages/graphql-modules/src/testing/test-module.ts:256
↓ 2 callersFunctionisNil
(val: T | null | undefined)
packages/graphql-modules/src/shared/utils.ts:11
↓ 2 callersFunctionisResolveFn
(value: any)
packages/graphql-modules/src/module/resolvers.ts:523
↓ 2 callersFunctionisResolveOptions
(value: any)
packages/graphql-modules/src/module/resolvers.ts:533
↓ 2 callersFunctionisRootType
(typeName: string)
packages/graphql-modules/src/testing/test-module.ts:435
next →1–100 of 415, ranked by callers