MCPcopy Create free account

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

Functions1,330 in github.com/graphql-hive/graphql-yoga

↓ 8 callersFunctionexecuteQuery
()
packages/envelop/plugins/rate-limiter/tests/use-rate-limiter.spec.ts:210
↓ 8 callersFunctionexpectTraceNode
( node: Trace.INode | null | undefined, field: string, type: string, parent: string, )
packages/plugins/apollo-inline-trace/__tests__/apollo-inline-trace.spec.ts:97
↓ 8 callersFunctionexpectValidWithSchema
(schema: GraphQLSchema, queryStr: string)
packages/plugins/defer-stream/__tests__/validations/overlapping-fields-can-be-merged.spec.ts:18
↓ 8 callersFunctiongetCurrentOtelContext
(graphqlContext: any)
packages/envelop/plugins/opentelemetry/src/index.ts:51
↓ 8 callersFunctiongetHistogramFromConfig
( config: PrometheusTracingPluginConfig, phase: keyof MetricOptions, availablePhases: AtLeastOne<Phases>
packages/envelop/plugins/prometheus/src/utils.ts:312
↓ 8 callersFunctionprintUrl
(path: string)
examples/sofa/src/index.ts:9
↓ 8 callersFunctionremoveEmptyOrUnusedNodes
(documentNode: DocumentNode)
packages/envelop/plugins/generic-auth/src/utils.ts:15
↓ 8 callersFunctionsendResult
(singularResult: ExecutionResult)
packages/envelop/plugins/newrelic/src/index.ts:206
↓ 8 callersFunctionuseErrorHandler
( errorHandler: ErrorHandler, )
packages/envelop/core/src/plugins/use-error-handler.ts:44
↓ 8 callersFunctionuseExecutionCancellation
()
packages/graphql-yoga/src/plugins/use-execution-cancellation.ts:6
↓ 8 callersFunctionuseGraphQLJSEngine
()
packages/envelop/testing/src/index.ts:11
↓ 7 callersFunctioncollectAsyncIterableValues
( asyncIterable: AsyncIterable<TType>, )
packages/subscription/src/createPubSub.spec.ts:5
↓ 7 callersFunctioncreatePlugin
(order: number)
packages/envelop/core/test/plugin-init.spec.ts:8
↓ 7 callersFunctioncreateRedisEventTarget
( args: CreateRedisEventTargetArgs, )
packages/event-target/redis-event-target/src/index.ts:14
↓ 7 callersFunctionfilterFillParamsFnParams
( config: PrometheusTracingPluginConfig, params: Partial<Record<T, any>>, )
packages/envelop/plugins/prometheus/src/utils.ts:523
↓ 7 callersMethodflush
()
packages/plugins/apollo-usage-report/src/reporter.ts:70
↓ 7 callersMethodgetForIdentity
(identity: Identity)
packages/envelop/plugins/rate-limiter/src/redis-store.ts:32
↓ 7 callersFunctiongetGraphQLRateLimiter
( // Main config (e.g. the config passed to the createRateLimitDirective func) userConfig: GraphQLRateLimi
packages/envelop/plugins/rate-limiter/src/get-graphql-rate-limiter.ts:46
↓ 7 callersFunctiongetMostSpecificState
( state: Partial<HttpState<T> & GraphQLState<T> & GatewayState<T>> = {}, )
packages/envelop/core/src/plugin-with-state.ts:119
↓ 7 callersFunctionmetricDisabledTestCases
( metricName: MetricNames, factory: (config: object) => object, phases?: [string, ...string[]], )
packages/envelop/plugins/prometheus/test/prom.spec.ts:1418
↓ 7 callersFunctionmetricEnabledTestCases
( metricName: MetricNames, phases: [string, ...string[]], factory: (config: object) => object, )
packages/envelop/plugins/prometheus/test/prom.spec.ts:1350
↓ 7 callersFunctionprepare
(config: Omit<StatsDPluginOptions, 'client'>)
packages/envelop/plugins/statsd/test/statsd.spec.ts:33
↓ 7 callersFunctionsetSchemaFn
(_newSchema: GraphQLSchema)
packages/envelop/core/test/schema-change.spec.ts:24
↓ 7 callersFunctionshouldRenderGraphiQL
({ headers, method }: Request)
packages/graphql-yoga/src/plugins/use-graphiql.ts:7
↓ 7 callersFunctionuseImmediateIntrospection
()
packages/envelop/plugins/immediate-introspection/src/index.ts:35
↓ 7 callersFunctionuseSentry
( options: SentryPluginOptions<PluginContext> = {}, )
packages/envelop/plugins/sentry/src/index.ts:98
↓ 7 callersFunctionwithState
( pluginFactory: ( getState: <SP extends {}>( payload: SP, ) => PayloadWithState<SP, HttpState
packages/envelop/core/src/plugin-with-state.ts:8
↓ 6 callersFunctionassertSingleValue
( result: any, )
packages/envelop/plugins/opentelemetry/test/use-open-telemetry.spec.ts:546
↓ 6 callersMethodcreate
(inputs: VercelProviderInputs)
e2e/tests/vercel.ts:66
↓ 6 callersFunctioncreateCounter
(options: { /** * The registry to be used by the plugin. If you don't have a custom registry, * use `r
packages/envelop/plugins/prometheus/src/utils.ts:269
↓ 6 callersFunctioncreateInMemoryAPQStore
(options: APQStoreOptions = {})
packages/plugins/apq/src/index.ts:34
↓ 6 callersFunctioncreateSchema
()
packages/envelop/testing/test/test.spec.ts:7
↓ 6 callersFunctioncreateYogaServer
()
packages/plugins/response-cache/__tests__/response-cache.spec.ts:924
↓ 6 callersMethoddispatchEvent
(event: TEvent)
packages/event-target/typed-event-target/src/index.ts:27
↓ 6 callersFunctionensureIterator
()
packages/envelop/core/src/utils.ts:113
↓ 6 callersFunctionexpectValid
(queryStr: string)
packages/plugins/defer-stream/__tests__/validations/defer-stream-directive-on-root-field.spec.ts:9
↓ 6 callersMethodforRoot
(options?: YogaDriverConfig)
packages/nestjs/__tests__/fixtures/graphql/app.module.ts:10
↓ 6 callersFunctiongetAllKvKeysForPrefix
(prefix: string, KV: KVNamespace)
packages/envelop/plugins/response-cache-cloudflare-kv/src/invalidate.ts:35
↓ 6 callersFunctionisGraphQLError
(val: unknown)
packages/graphql-yoga/src/error.ts:22
↓ 6 callersFunctionpick
( key: K, defaultValue: NonNullable<SentryPluginOptions<PluginContext>[K]>, )
packages/envelop/plugins/sentry/src/index.ts:101
↓ 6 callersFunctionrenderGraphiQL
(opts?: GraphiQLOptions)
packages/render-graphiql/src/index.ts:4
↓ 6 callersFunctionreplaceSchema
(newSchema: any, ignorePluginIndex = -1)
packages/envelop/core/src/orchestrator.ts:95
↓ 6 callersMethodset
(key: string, value: JITCacheEntry)
packages/envelop/plugins/graphql-jit/src/index.ts:23
↓ 6 callersMethodstart
(options: YogaDriverConfig<Platform>)
packages/nestjs/src/index.ts:242
↓ 6 callersFunctiontypeOperationText
(text: string)
packages/graphql-yoga/__integration-tests__/browser.spec.ts:309
↓ 6 callersFunctionuseAPQ
(options: APQOptions = {})
packages/plugins/apq/src/index.ts:87
↓ 6 callersFunctionuseApolloInlineTrace
( options: ApolloInlineTracePluginOptions = {}, )
packages/plugins/apollo-inline-trace/src/index.ts:54
↓ 6 callersFunctionuseNewRelic
(rawOptions?: UseNewRelicOptions)
packages/envelop/plugins/newrelic/src/index.ts:58
↓ 6 callersFunctionuseReadinessCheck
({ endpoint = '/ready', check, }: ReadinessCheckPluginOptions)
packages/graphql-yoga/src/plugins/use-readiness-check.ts:34
↓ 5 callersFunctionassertGraphiQL
(endpoint: string)
e2e/utils.ts:60
↓ 5 callersFunctionassertQuery
( endpoint: string, query: string = DUMMY_QUERY, variables: Record<string, string> = DUMMY_VARIABLES, )
e2e/utils.ts:98
↓ 5 callersFunctionbadRequestError
( message: string, options?: Parameters<typeof createGraphQLError>[1], )
packages/plugins/jwt/src/utils.ts:105
↓ 5 callersFunctionchain
( first: First, next: Next, )
packages/envelop/instrumentation/src/instrumentation.ts:13
↓ 5 callersFunctioncreateDeferred
()
packages/envelop/core/test/execute.spec.ts:22
↓ 5 callersMethodensureCountsAreIntegers
()
packages/plugins/apollo-usage-report/src/stats.ts:60
↓ 5 callersFunctionexpectErrors
(queryStr: string)
packages/plugins/defer-stream/__tests__/validations/defer-stream-directive-label.spec.ts:4
↓ 5 callersFunctionexpectValid
(queryStr: string)
packages/plugins/defer-stream/__tests__/validations/stream-directive-on-list-field.spec.ts:8
↓ 5 callersFunctionextendedTypeof
( val: unknown, )
packages/graphql-yoga/src/plugins/request-validation/use-check-graphql-query-params.ts:151
↓ 5 callersFunctionextractFromHeader
(options: { name: string; prefix?: string; })
packages/plugins/jwt/src/utils.ts:7
↓ 5 callersFunctiongetEnvVar
(name: string, defaultValue?: T)
packages/plugins/apollo-usage-report/src/reporter.ts:174
↓ 5 callersMethodincrementDuration
(durationNs: number, value = 1)
packages/plugins/apollo-usage-report/src/stats.ts:496
↓ 5 callersFunctionisContentTypeMatch
(request: Request, expectedContentType: string)
packages/graphql-yoga/src/plugins/request-parser/utils.ts:22
↓ 5 callersMethodkill
()
examples/nextjs-app/__integration-tests__/utils.ts:9
↓ 5 callersMethodload
()
packages/envelop/plugins/apollo-federation/src/index.ts:44
↓ 5 callersMethodloc
(startToken: Token)
packages/envelop/plugins/fragment-arguments/src/extended-parser.ts:26
↓ 5 callersFunctionremoveMetadataFieldsFromResult
( data: Record<string, unknown> | Array<Record<string, unknown>> | null | undefined, onEntity?: OnEntityHa
packages/envelop/plugins/response-cache/src/plugin.ts:777
↓ 5 callersFunctionresultWithMetadata
( result: ExecutionResult, metadata: ResponseCacheExtensions, )
packages/envelop/plugins/response-cache/src/plugin.ts:710
↓ 5 callersMethodstop
()
examples/envelop/apollo-server/index.ts:65
↓ 5 callersFunctiontestHistogram
( metricName: MetricNames<HistogramMetricOption<any>>, phases: [string, ...string[]], )
packages/envelop/plugins/prometheus/test/prom.spec.ts:145
↓ 5 callersFunctionuseDisableIntrospection
( props?: UseDisableIntrospectionArgs, )
packages/plugins/disable-introspection/src/index.ts:9
↓ 5 callersFunctionuseGraphQLModules
(app: Application)
packages/envelop/plugins/graphql-modules/src/index.ts:6
↓ 5 callersFunctionuseMDXComponents
website/src/mdx-components.ts:5
↓ 5 callersFunctionuseManagedFederation
(options: ManagedFederationPluginOptions = {})
packages/plugins/apollo-managed-federation/src/index.ts:26
↓ 5 callersFunctionuseRequestParser
(options: RequestParserPluginOptions)
packages/graphql-yoga/src/plugins/use-request-parser.ts:12
↓ 5 callersFunctionuseSchema
( schemaDef?: YogaSchemaDefinition<TServerContext, TUserContext>, )
packages/graphql-yoga/src/plugins/use-schema.ts:20
↓ 5 callersFunctionwaitForResult
(result: any)
packages/envelop/plugins/response-cache/test/response-cache.spec.ts:4127
↓ 4 callersFunctionconsoleLog
(prefix: string)
packages/logger/src/index.ts:32
↓ 4 callersFunctioncreate
(config?: Omit<UseResponseCacheParameter, 'session'>, port?: number)
examples/response-cache/src/main.ts:27
↓ 4 callersFunctioncreateSummary
(options: { /** * The registry to be used by the plugin. If you don't have a custom registry, * use `r
packages/envelop/plugins/prometheus/src/utils.ts:195
↓ 4 callersFunctionexpectTrace
(trace: Trace)
packages/plugins/apollo-inline-trace/__tests__/apollo-inline-trace.yoga-gateway.spec.ts:29
↓ 4 callersFunctionexpectTraceNode
( node: Trace.INode, responseName: string, type: string, parentType: string, )
packages/plugins/apollo-inline-trace/__tests__/apollo-inline-trace.yoga-gateway.spec.ts:54
↓ 4 callersFunctionexpectTraceNodeError
(node: Trace.INode | null | undefined)
packages/plugins/apollo-inline-trace/__tests__/apollo-inline-trace.spec.ts:268
↓ 4 callersFunctionexpectValid
(queryStr: string)
packages/plugins/defer-stream/__tests__/validations/defer-stream-directive-label.spec.ts:8
↓ 4 callersFunctionfn
* Wraps the `wrapped` function with the given `instrument` wrapper. * @returns The wrapped function, or `undefined` if the instrument is `undefined
packages/envelop/instrumentation/src/instrumentation.ts:70
↓ 4 callersMethodget
* Transfroms a hash/id into a DocumentNode or SDL string. * Prefer returning `DocumentNode` if available to avoid additional parsing phase. * Re
packages/envelop/plugins/persisted-operations/src/types.ts:11
↓ 4 callersFunctiongetCounterFromConfig
( config: PrometheusTracingPluginConfig, phase: keyof MetricOptions, availablePhases: AtLeastOne<Phases>
packages/envelop/plugins/prometheus/src/utils.ts:422
↓ 4 callersFunctiongetFieldsAndFragmentNames
( context: ValidationContext, cachedFieldsAndFragmentNames: Map<SelectionSetNode, FieldsAndFragmentNames>,
packages/plugins/defer-stream/src/validations/overlapping-fields-can-be-merged.ts:751
↓ 4 callersFunctionhandleError
( error: unknown, maskedErrorsOpts: YogaMaskedErrorOpts | null, logger: YogaLogger, )
packages/graphql-yoga/src/error.ts:47
↓ 4 callersFunctionisDigit
(code: number)
packages/plugins/defer-stream/src/validations/overlapping-fields-can-be-merged.ts:85
↓ 4 callersFunctionlabelExists
(config: { labels?: Record<string, unknown> }, label: string)
packages/envelop/plugins/prometheus/src/utils.ts:515
↓ 4 callersFunctionmake
()
packages/envelop/instrumentation/test/instrumentation.spec.ts:86
↓ 4 callersFunctionmakeExecute
( executeFn: (args: ExecutionArgs) => PromiseOrValue<AsyncIterableIteratorOrValue<any>>, )
packages/envelop/core/src/utils.ts:63
↓ 4 callersFunctionmakeManager
(options: SupergraphSchemaManagerOptions)
packages/plugins/apollo-managed-federation/test/apollo-managed-federation.spec.ts:169
↓ 4 callersFunctionmakeSubscribe
(subscribeFn: (args: ExecutionArgs) => any)
packages/envelop/core/src/utils.ts:39
↓ 4 callersMethodremoveEventListener
( type: TCurrEvent['type'], callback: TypedEventListenerOrEventListenerObject<TCurrEvent> | null,
packages/event-target/typed-event-target/src/index.ts:28
↓ 4 callersFunctionreplaceSchema
(newSchema: GraphQLSchema)
packages/envelop/plugins/graphql-middleware/test/graphql-middleware.spec.ts:49
↓ 4 callersFunctionset
( /** id/hash of the operation */ id: string, /** the result that should be cached */ data: ExecutionR
packages/envelop/plugins/response-cache-cloudflare-kv/src/set.ts:6
↓ 4 callersFunctionsleep
(t = 1000)
examples/envelop/graphql-helix-defer-stream/index.ts:14
↓ 4 callersFunctionspawn
( cmd: string, args: string[], { signal, env, cwd = path.join(module.path, '..'), }: { sig
examples/nextjs-app/__integration-tests__/utils.ts:13
↓ 4 callersFunctionstop
()
examples/nextjs-ws/__integration-tests__/nextjs-ws.spec.ts:6
← previousnext →101–200 of 1,330, ranked by callers