Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/graphql-hive/graphql-modules
/ functions
Functions
415 in github.com/graphql-hive/graphql-modules
⨍
Functions
415
◇
Types & classes
143
↓ 2 callers
Function
isScalarResolver
(obj: any)
packages/graphql-modules/src/module/resolvers.ts:541
↓ 2 callers
Method
load
(id: number)
packages/graphql-modules/tests/di-providers.spec.ts:465
↓ 2 callers
Function
makeApp
()
packages/graphql-modules/tests/bootstrap.spec.ts:402
↓ 2 callers
Function
mapResult
(result: IteratorResult<T, any>)
packages/graphql-modules/src/shared/utils.ts:41
↓ 2 callers
Function
merge
( source: S, target: T )
packages/graphql-modules/src/shared/utils.ts:114
↓ 2 callers
Function
mergeMiddlewareMaps
( app: MiddlewareMap, mod: MiddlewareMap )
packages/graphql-modules/src/shared/middleware.ts:77
↓ 2 callers
Function
noAnnotationError
( typeOrFunc: Type<any> | InjectionToken<any> | Function, params: InjectableParamMetadata[] )
packages/graphql-modules/src/di/errors.ts:22
↓ 2 callers
Method
onDestroy
()
packages/graphql-modules/src/shared/di.ts:2
↓ 2 callers
Function
onlyOperationProviders
(providers: Provider[] = [])
packages/graphql-modules/src/di/providers.ts:79
↓ 2 callers
Function
onlySingletonProviders
(providers: Provider[] = [])
packages/graphql-modules/src/di/providers.ts:68
↓ 2 callers
Method
ping
()
packages/graphql-modules/tests/di-providers.spec.ts:344
↓ 2 callers
Function
registerProvidersToDestroy
(injector: ReflectiveInjector)
packages/graphql-modules/src/application/context.ts:96
↓ 2 callers
Method
replaceModule
(mockedModule: MockedModule)
packages/graphql-modules/src/application/types.ts:23
↓ 2 callers
Function
resolveProviders
(providers: Provider[])
packages/graphql-modules/src/di/resolution.ts:71
↓ 2 callers
Method
setExecutionContextGetter
(getter: ExecutionContextGetter)
packages/graphql-modules/src/di/injector.ts:118
↓ 2 callers
Function
sum
(testResults: TestResult[])
benchmark/basic.case.ts:180
↓ 2 callers
Method
value
()
packages/graphql-modules/tests/di-errors.spec.ts:199
↓ 2 callers
Method
value
()
packages/graphql-modules/tests/di-providers.spec.ts:1090
↓ 2 callers
Method
ɵ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 callers
Method
_getByDependency
(dep: Dependency)
packages/graphql-modules/src/di/injector.ts:242
↓ 1 callers
Method
_getMaxNumberOfObjects
()
packages/graphql-modules/src/di/injector.ts:253
↓ 1 callers
Method
_instantiateProvider
(provider: ResolvedProvider)
packages/graphql-modules/src/di/injector.ts:206
↓ 1 callers
Method
_isObjectDefinedByKeyId
(keyId: number)
packages/graphql-modules/src/di/injector.ts:164
↓ 1 callers
Method
_new
(provider: ResolvedProvider)
packages/graphql-modules/src/di/injector.ts:246
↓ 1 callers
Method
_throwOrNull
(key: Key, notFoundValue: any)
packages/graphql-modules/src/di/injector.ts:192
↓ 1 callers
Function
addDefaultResolvers
* 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 callers
Function
addEnum
({ typeName, resolver, container, config, }: { typeName: string; resolver: EnumResolver; contain
packages/graphql-modules/src/module/resolvers.ts:352
↓ 1 callers
Method
addKey
(key: Key)
packages/graphql-modules/src/di/errors.ts:92
↓ 1 callers
Function
addObject
({ typeName, fields, container, config, }: { typeName: string; fields: Record<string, any>; cont
packages/graphql-modules/src/module/resolvers.ts:250
↓ 1 callers
Method
addPost
(post: Post)
examples/graphql-yoga/src/app/post/post.provider.ts:15
↓ 1 callers
Method
addPost
(post: Post)
examples/apollo-subscriptions/src/app/post/post.provider.ts:19
↓ 1 callers
Method
addPost
(post: Post)
examples/subscriptions/src/app/post/post.provider.ts:19
↓ 1 callers
Function
addScalar
({ typeName, resolver, container, config, }: { typeName: string; resolver: GraphQLScalarType; co
packages/graphql-modules/src/module/resolvers.ts:327
↓ 1 callers
Method
all
()
packages/graphql-modules/tests/di-hooks.spec.ts:26
↓ 1 callers
Method
allPosts
()
examples/basic-with-dependency-injection/src/modules/blog/providers/blog.ts:30
↓ 1 callers
Method
allUsers
()
examples/basic-with-dependency-injection/src/modules/user/providers/users.ts:16
↓ 1 callers
Function
apolloExecutorCreator
({ createExecution, }: { createExecution: Application['createExecution']; })
packages/graphql-modules/src/application/apollo.ts:20
↓ 1 callers
Function
apolloSchemaCreator
({ createSubscription, contextBuilder, schema, }: { createSubscription: Application['createSubscriptio
packages/graphql-modules/src/application/apollo.ts:41
↓ 1 callers
Function
applicationFactory
(cfg?: ApplicationConfig)
packages/graphql-modules/src/application/application.ts:64
↓ 1 callers
Function
checkExistence
* 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 callers
Function
collectField
(field: FieldDefinitionNode, parentTypeName?: string)
packages/graphql-modules/src/testing/test-module.ts:284
↓ 1 callers
Function
constructDependencies
( typeOrFunc: any, dependencies?: any[] )
packages/graphql-modules/src/di/resolution.ts:195
↓ 1 callers
Function
contextValue
()
packages/graphql-modules/tests/context.spec.ts:82
↓ 1 callers
Function
createApolloExecutor
()
packages/graphql-modules/src/testing/test-application.ts:39
↓ 1 callers
Function
createContextBuilder
({ appInjector, modulesMap, appLevelOperationProviders, singletonGlobalProvidersMap, operationGlobal
packages/graphql-modules/src/application/context.ts:66
↓ 1 callers
Function
createDependency
(token: any, optional: boolean)
packages/graphql-modules/src/di/resolution.ts:220
↓ 1 callers
Function
createModuleExecutionContextGetter
(moduleId: string)
packages/graphql-modules/src/application/context.ts:149
↓ 1 callers
Function
createModulesMap
(modules: ResolvedModule[])
packages/graphql-modules/src/application/application.ts:167
↓ 1 callers
Function
createResolvers
( config: ModuleConfig, metadata: ModuleMetadata, app: { middlewareMap: MiddlewareMap; } )
packages/graphql-modules/src/module/resolvers.ts:34
↓ 1 callers
Function
createTypeDefs
(config: ModuleConfig)
packages/graphql-modules/src/module/type-defs.ts:9
↓ 1 callers
Function
cyclicDependencyError
( injector: ReflectiveInjector, key: Key )
packages/graphql-modules/src/di/errors.ts:49
↓ 1 callers
Function
destroy
()
packages/graphql-modules/src/application/apollo.ts:73
↓ 1 callers
Method
disable
()
packages/graphql-modules/tests/operation-controller.spec.ts:20
↓ 1 callers
Function
dispatch
(i: number)
packages/graphql-modules/src/shared/middleware.ts:29
↓ 1 callers
Function
duplicatedGlobalTokenError
( provider: ResolvedProvider, modules: [string, string] )
packages/graphql-modules/src/application/di.ts:77
↓ 1 callers
Method
emit
()
packages/graphql-modules/tests/di-providers.spec.ts:61
↓ 1 callers
Function
ensureDocumentNode
(config: ModuleConfig, typeDefs: any[])
packages/graphql-modules/src/module/type-defs.ts:19
↓ 1 callers
Function
ensureImplements
* 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 callers
Function
ensureModuleUniqueIds
(modules: Module[])
packages/graphql-modules/src/application/application.ts:197
↓ 1 callers
Function
executionContextInFor
(type: any)
packages/graphql-modules/src/di/resolution.ts:176
↓ 1 callers
Function
executionCreator
({ contextBuilder, }: { contextBuilder: ExecutionContextBuilder; })
packages/graphql-modules/src/application/execution.ts:15
↓ 1 callers
Function
findFirstClosedCycle
(keys: any[])
packages/graphql-modules/src/di/errors.ts:127
↓ 1 callers
Function
findTypes
(typeName: string)
packages/graphql-modules/src/testing/test-module.ts:362
↓ 1 callers
Function
flatten
(arr: T[])
packages/graphql-modules/src/shared/utils.ts:3
↓ 1 callers
Method
getApplicationContext
()
packages/graphql-modules/src/async-context.d.ts:2
↓ 1 callers
Method
getAuthor
(postId: number)
examples/basic-with-dependency-injection/src/modules/blog/providers/blog.ts:34
↓ 1 callers
Method
getModuleContext
(moduleId: string)
packages/graphql-modules/src/async-context.d.ts:3
↓ 1 callers
Function
getOriginalError
(error: Error)
packages/graphql-modules/src/di/utils.ts:9
↓ 1 callers
Method
getPosts
()
examples/graphql-yoga/src/app/post/post.provider.ts:11
↓ 1 callers
Method
getPosts
()
examples/apollo-subscriptions/src/app/post/post.provider.ts:15
↓ 1 callers
Method
getPosts
()
examples/subscriptions/src/app/post/post.provider.ts:15
↓ 1 callers
Method
getPostsOf
(userId: number)
examples/basic-with-dependency-injection/src/modules/blog/providers/blog.ts:26
↓ 1 callers
Function
getSession
( ctx: any, { context, ɵdestroy: destroy }: ExecutionContextEnv )
packages/graphql-modules/src/application/apollo.ts:63
↓ 1 callers
Function
globalFor
(type: any)
packages/graphql-modules/src/di/resolution.ts:189
↓ 1 callers
Function
hasInterfaces
( def: NamedDefinitionNode )
packages/graphql-modules/src/testing/test-module.ts:378
↓ 1 callers
Function
hasMiddleware
(typeName: string, fieldName: string)
packages/graphql-modules/src/module/resolvers.ts:482
↓ 1 callers
Function
hasTypes
( def: NamedDefinitionNode )
packages/graphql-modules/src/testing/test-module.ts:392
↓ 1 callers
Function
inheritTypeDefs
(originalTypeDefs: DocumentNode[], modules: Module[])
packages/graphql-modules/src/testing/test-module.ts:145
↓ 1 callers
Function
instantiateSingletonProviders
({ appInjector, modulesMap, }: { appInjector: ReflectiveInjector; modulesMap: ModulesMap; })
packages/graphql-modules/src/application/di.ts:6
↓ 1 callers
Function
instantiationError
( injector: ReflectiveInjector, originalException: any, key: Key )
packages/graphql-modules/src/di/errors.ts:70
↓ 1 callers
Function
invalidProviderError
(provider: any)
packages/graphql-modules/src/di/errors.ts:12
↓ 1 callers
Function
isClassProvider
(provider: any)
packages/graphql-modules/src/di/providers.ts:90
↓ 1 callers
Function
isFactoryProvider
( provider: any )
packages/graphql-modules/src/di/providers.ts:94
↓ 1 callers
Function
isScalar
(name: string)
packages/graphql-modules/src/testing/test-module.ts:356
↓ 1 callers
Function
main
()
benchmark/basic.case.ts:220
↓ 1 callers
Function
main
()
scripts/test-esm.mjs:6
↓ 1 callers
Function
makeFactory
(t: Type<T>)
packages/graphql-modules/src/di/resolution.ts:224
↓ 1 callers
Function
makeFlatPayload
()
packages/graphql-modules/tests/memory-leak.spec.ts:32
↓ 1 callers
Function
merge
(left: any, right: any)
packages/graphql-modules/src/shared/middleware.ts:81
↓ 1 callers
Function
mergeResolvedProviders
( providers: ResolvedProvider[], normalizedProvidersMap: Map<number, ResolvedProvider> )
packages/graphql-modules/src/di/resolution.ts:86
↓ 1 callers
Function
metadataFactory
( typeDefs: DocumentNode[], config: ModuleConfig )
packages/graphql-modules/src/module/metadata.ts:27
↓ 1 callers
Function
moduleInjectorGetter
(moduleId)
packages/graphql-modules/src/application/context.ts:137
↓ 1 callers
Function
noInjectableError
(type: Type<any>)
packages/graphql-modules/src/di/errors.ts:18
↓ 1 callers
Function
noProviderError
( injector: ReflectiveInjector, key: Key )
packages/graphql-modules/src/di/errors.ts:60
↓ 1 callers
Function
normalizeProviders
( providers: Provider[], res: Provider[] )
packages/graphql-modules/src/di/resolution.ts:98
↓ 1 callers
Function
onResult
(testResult: TestResult)
benchmark/basic.case.ts:223
↓ 1 callers
Function
once
(cb: () => void)
packages/graphql-modules/src/shared/utils.ts:79
↓ 1 callers
Function
operationControllerCreator
(options: { contextBuilder: ExecutionContextBuilder<GraphQLModules.GlobalContext>; })
packages/graphql-modules/src/application/operation-controller.ts:4
↓ 1 callers
Function
perform
({ context, ɵdestroy: destroy, }: { context: InternalAppContext; ɵdestro
packages/graphql-modules/src/application/execution.ts:34
↓ 1 callers
Function
perform
({ context, ɵdestroy: destroy, }: { context: InternalAppContext; ɵdestro
packages/graphql-modules/src/application/subscription.ts:37
← previous
next →
101–200 of 415, ranked by callers