MCPcopy Create free account

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

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

↓ 2 callersFunctionisScalarResolver
(obj: any)
packages/graphql-modules/src/module/resolvers.ts:541
↓ 2 callersMethodload
(id: number)
packages/graphql-modules/tests/di-providers.spec.ts:465
↓ 2 callersFunctionmakeApp
()
packages/graphql-modules/tests/bootstrap.spec.ts:402
↓ 2 callersFunctionmapResult
(result: IteratorResult<T, any>)
packages/graphql-modules/src/shared/utils.ts:41
↓ 2 callersFunctionmerge
( source: S, target: T )
packages/graphql-modules/src/shared/utils.ts:114
↓ 2 callersFunctionmergeMiddlewareMaps
( app: MiddlewareMap, mod: MiddlewareMap )
packages/graphql-modules/src/shared/middleware.ts:77
↓ 2 callersFunctionnoAnnotationError
( typeOrFunc: Type<any> | InjectionToken<any> | Function, params: InjectableParamMetadata[] )
packages/graphql-modules/src/di/errors.ts:22
↓ 2 callersMethodonDestroy
()
packages/graphql-modules/src/shared/di.ts:2
↓ 2 callersFunctiononlyOperationProviders
(providers: Provider[] = [])
packages/graphql-modules/src/di/providers.ts:79
↓ 2 callersFunctiononlySingletonProviders
(providers: Provider[] = [])
packages/graphql-modules/src/di/providers.ts:68
↓ 2 callersMethodping
()
packages/graphql-modules/tests/di-providers.spec.ts:344
↓ 2 callersFunctionregisterProvidersToDestroy
(injector: ReflectiveInjector)
packages/graphql-modules/src/application/context.ts:96
↓ 2 callersMethodreplaceModule
(mockedModule: MockedModule)
packages/graphql-modules/src/application/types.ts:23
↓ 2 callersFunctionresolveProviders
(providers: Provider[])
packages/graphql-modules/src/di/resolution.ts:71
↓ 2 callersMethodsetExecutionContextGetter
(getter: ExecutionContextGetter)
packages/graphql-modules/src/di/injector.ts:118
↓ 2 callersFunctionsum
(testResults: TestResult[])
benchmark/basic.case.ts:180
↓ 2 callersMethodvalue
()
packages/graphql-modules/tests/di-errors.spec.ts:199
↓ 2 callersMethodvalue
()
packages/graphql-modules/tests/di-providers.spec.ts:1090
↓ 2 callersMethodɵrunWithContext
* @internal * * Wraps a callback in this operation's AsyncLocalStorage frame so that * `@ExecutionContext()` reads resolve to *this* operatio
packages/graphql-modules/src/application/types.ts:116
↓ 1 callersMethod_getByDependency
(dep: Dependency)
packages/graphql-modules/src/di/injector.ts:242
↓ 1 callersMethod_getMaxNumberOfObjects
()
packages/graphql-modules/src/di/injector.ts:253
↓ 1 callersMethod_instantiateProvider
(provider: ResolvedProvider)
packages/graphql-modules/src/di/injector.ts:206
↓ 1 callersMethod_isObjectDefinedByKeyId
(keyId: number)
packages/graphql-modules/src/di/injector.ts:164
↓ 1 callersMethod_new
(provider: ResolvedProvider)
packages/graphql-modules/src/di/injector.ts:246
↓ 1 callersMethod_throwOrNull
(key: Key, notFoundValue: any)
packages/graphql-modules/src/di/injector.ts:192
↓ 1 callersFunctionaddDefaultResolvers
* In order to use middlewares on fields * that are defined in SDL but have no implemented resolvers, * we would have to recreate GraphQLSchema and w
packages/graphql-modules/src/module/resolvers.ts:471
↓ 1 callersFunctionaddEnum
({ typeName, resolver, container, config, }: { typeName: string; resolver: EnumResolver; contain
packages/graphql-modules/src/module/resolvers.ts:352
↓ 1 callersMethodaddKey
(key: Key)
packages/graphql-modules/src/di/errors.ts:92
↓ 1 callersFunctionaddObject
({ typeName, fields, container, config, }: { typeName: string; fields: Record<string, any>; cont
packages/graphql-modules/src/module/resolvers.ts:250
↓ 1 callersMethodaddPost
(post: Post)
examples/graphql-yoga/src/app/post/post.provider.ts:15
↓ 1 callersMethodaddPost
(post: Post)
examples/apollo-subscriptions/src/app/post/post.provider.ts:19
↓ 1 callersMethodaddPost
(post: Post)
examples/subscriptions/src/app/post/post.provider.ts:19
↓ 1 callersFunctionaddScalar
({ typeName, resolver, container, config, }: { typeName: string; resolver: GraphQLScalarType; co
packages/graphql-modules/src/module/resolvers.ts:327
↓ 1 callersMethodall
()
packages/graphql-modules/tests/di-hooks.spec.ts:26
↓ 1 callersMethodallPosts
()
examples/basic-with-dependency-injection/src/modules/blog/providers/blog.ts:30
↓ 1 callersMethodallUsers
()
examples/basic-with-dependency-injection/src/modules/user/providers/users.ts:16
↓ 1 callersFunctionapolloExecutorCreator
({ createExecution, }: { createExecution: Application['createExecution']; })
packages/graphql-modules/src/application/apollo.ts:20
↓ 1 callersFunctionapolloSchemaCreator
({ createSubscription, contextBuilder, schema, }: { createSubscription: Application['createSubscriptio
packages/graphql-modules/src/application/apollo.ts:41
↓ 1 callersFunctionapplicationFactory
(cfg?: ApplicationConfig)
packages/graphql-modules/src/application/application.ts:64
↓ 1 callersFunctioncheckExistence
* Helps to make sure a middleware has a corresponding type/field definition. * We don't want to pass a module-level middlewares that are not related
packages/graphql-modules/src/shared/middleware.ts:157
↓ 1 callersFunctioncollectField
(field: FieldDefinitionNode, parentTypeName?: string)
packages/graphql-modules/src/testing/test-module.ts:284
↓ 1 callersFunctionconstructDependencies
( typeOrFunc: any, dependencies?: any[] )
packages/graphql-modules/src/di/resolution.ts:195
↓ 1 callersFunctioncontextValue
()
packages/graphql-modules/tests/context.spec.ts:82
↓ 1 callersFunctioncreateApolloExecutor
()
packages/graphql-modules/src/testing/test-application.ts:39
↓ 1 callersFunctioncreateContextBuilder
({ appInjector, modulesMap, appLevelOperationProviders, singletonGlobalProvidersMap, operationGlobal
packages/graphql-modules/src/application/context.ts:66
↓ 1 callersFunctioncreateDependency
(token: any, optional: boolean)
packages/graphql-modules/src/di/resolution.ts:220
↓ 1 callersFunctioncreateModuleExecutionContextGetter
(moduleId: string)
packages/graphql-modules/src/application/context.ts:149
↓ 1 callersFunctioncreateModulesMap
(modules: ResolvedModule[])
packages/graphql-modules/src/application/application.ts:167
↓ 1 callersFunctioncreateResolvers
( config: ModuleConfig, metadata: ModuleMetadata, app: { middlewareMap: MiddlewareMap; } )
packages/graphql-modules/src/module/resolvers.ts:34
↓ 1 callersFunctioncreateTypeDefs
(config: ModuleConfig)
packages/graphql-modules/src/module/type-defs.ts:9
↓ 1 callersFunctioncyclicDependencyError
( injector: ReflectiveInjector, key: Key )
packages/graphql-modules/src/di/errors.ts:49
↓ 1 callersFunctiondestroy
()
packages/graphql-modules/src/application/apollo.ts:73
↓ 1 callersMethoddisable
()
packages/graphql-modules/tests/operation-controller.spec.ts:20
↓ 1 callersFunctiondispatch
(i: number)
packages/graphql-modules/src/shared/middleware.ts:29
↓ 1 callersFunctionduplicatedGlobalTokenError
( provider: ResolvedProvider, modules: [string, string] )
packages/graphql-modules/src/application/di.ts:77
↓ 1 callersMethodemit
()
packages/graphql-modules/tests/di-providers.spec.ts:61
↓ 1 callersFunctionensureDocumentNode
(config: ModuleConfig, typeDefs: any[])
packages/graphql-modules/src/module/type-defs.ts:19
↓ 1 callersFunctionensureImplements
* Helps to make sure a resolver has a corresponding type/field definition. * We don't want to pass resolve function that are not related to the modul
packages/graphql-modules/src/module/resolvers.ts:387
↓ 1 callersFunctionensureModuleUniqueIds
(modules: Module[])
packages/graphql-modules/src/application/application.ts:197
↓ 1 callersFunctionexecutionContextInFor
(type: any)
packages/graphql-modules/src/di/resolution.ts:176
↓ 1 callersFunctionexecutionCreator
({ contextBuilder, }: { contextBuilder: ExecutionContextBuilder; })
packages/graphql-modules/src/application/execution.ts:15
↓ 1 callersFunctionfindFirstClosedCycle
(keys: any[])
packages/graphql-modules/src/di/errors.ts:127
↓ 1 callersFunctionfindTypes
(typeName: string)
packages/graphql-modules/src/testing/test-module.ts:362
↓ 1 callersFunctionflatten
(arr: T[])
packages/graphql-modules/src/shared/utils.ts:3
↓ 1 callersMethodgetApplicationContext
()
packages/graphql-modules/src/async-context.d.ts:2
↓ 1 callersMethodgetAuthor
(postId: number)
examples/basic-with-dependency-injection/src/modules/blog/providers/blog.ts:34
↓ 1 callersMethodgetModuleContext
(moduleId: string)
packages/graphql-modules/src/async-context.d.ts:3
↓ 1 callersFunctiongetOriginalError
(error: Error)
packages/graphql-modules/src/di/utils.ts:9
↓ 1 callersMethodgetPosts
()
examples/graphql-yoga/src/app/post/post.provider.ts:11
↓ 1 callersMethodgetPosts
()
examples/apollo-subscriptions/src/app/post/post.provider.ts:15
↓ 1 callersMethodgetPosts
()
examples/subscriptions/src/app/post/post.provider.ts:15
↓ 1 callersMethodgetPostsOf
(userId: number)
examples/basic-with-dependency-injection/src/modules/blog/providers/blog.ts:26
↓ 1 callersFunctiongetSession
( ctx: any, { context, ɵdestroy: destroy }: ExecutionContextEnv )
packages/graphql-modules/src/application/apollo.ts:63
↓ 1 callersFunctionglobalFor
(type: any)
packages/graphql-modules/src/di/resolution.ts:189
↓ 1 callersFunctionhasInterfaces
( def: NamedDefinitionNode )
packages/graphql-modules/src/testing/test-module.ts:378
↓ 1 callersFunctionhasMiddleware
(typeName: string, fieldName: string)
packages/graphql-modules/src/module/resolvers.ts:482
↓ 1 callersFunctionhasTypes
( def: NamedDefinitionNode )
packages/graphql-modules/src/testing/test-module.ts:392
↓ 1 callersFunctioninheritTypeDefs
(originalTypeDefs: DocumentNode[], modules: Module[])
packages/graphql-modules/src/testing/test-module.ts:145
↓ 1 callersFunctioninstantiateSingletonProviders
({ appInjector, modulesMap, }: { appInjector: ReflectiveInjector; modulesMap: ModulesMap; })
packages/graphql-modules/src/application/di.ts:6
↓ 1 callersFunctioninstantiationError
( injector: ReflectiveInjector, originalException: any, key: Key )
packages/graphql-modules/src/di/errors.ts:70
↓ 1 callersFunctioninvalidProviderError
(provider: any)
packages/graphql-modules/src/di/errors.ts:12
↓ 1 callersFunctionisClassProvider
(provider: any)
packages/graphql-modules/src/di/providers.ts:90
↓ 1 callersFunctionisFactoryProvider
( provider: any )
packages/graphql-modules/src/di/providers.ts:94
↓ 1 callersFunctionisScalar
(name: string)
packages/graphql-modules/src/testing/test-module.ts:356
↓ 1 callersFunctionmain
()
benchmark/basic.case.ts:220
↓ 1 callersFunctionmain
()
scripts/test-esm.mjs:6
↓ 1 callersFunctionmakeFactory
(t: Type<T>)
packages/graphql-modules/src/di/resolution.ts:224
↓ 1 callersFunctionmakeFlatPayload
()
packages/graphql-modules/tests/memory-leak.spec.ts:32
↓ 1 callersFunctionmerge
(left: any, right: any)
packages/graphql-modules/src/shared/middleware.ts:81
↓ 1 callersFunctionmergeResolvedProviders
( providers: ResolvedProvider[], normalizedProvidersMap: Map<number, ResolvedProvider> )
packages/graphql-modules/src/di/resolution.ts:86
↓ 1 callersFunctionmetadataFactory
( typeDefs: DocumentNode[], config: ModuleConfig )
packages/graphql-modules/src/module/metadata.ts:27
↓ 1 callersFunctionmoduleInjectorGetter
(moduleId)
packages/graphql-modules/src/application/context.ts:137
↓ 1 callersFunctionnoInjectableError
(type: Type<any>)
packages/graphql-modules/src/di/errors.ts:18
↓ 1 callersFunctionnoProviderError
( injector: ReflectiveInjector, key: Key )
packages/graphql-modules/src/di/errors.ts:60
↓ 1 callersFunctionnormalizeProviders
( providers: Provider[], res: Provider[] )
packages/graphql-modules/src/di/resolution.ts:98
↓ 1 callersFunctiononResult
(testResult: TestResult)
benchmark/basic.case.ts:223
↓ 1 callersFunctiononce
(cb: () => void)
packages/graphql-modules/src/shared/utils.ts:79
↓ 1 callersFunctionoperationControllerCreator
(options: { contextBuilder: ExecutionContextBuilder<GraphQLModules.GlobalContext>; })
packages/graphql-modules/src/application/operation-controller.ts:4
↓ 1 callersFunctionperform
({ context, ɵdestroy: destroy, }: { context: InternalAppContext; ɵdestro
packages/graphql-modules/src/application/execution.ts:34
↓ 1 callersFunctionperform
({ context, ɵdestroy: destroy, }: { context: InternalAppContext; ɵdestro
packages/graphql-modules/src/application/subscription.ts:37
← previousnext →101–200 of 415, ranked by callers