@vnodes/graphql
    Preparing search index...

    Interface ApolloServerOptionsWithGateway<TContext>

    interface ApolloServerOptionsWithGateway<TContext extends BaseContext> {
        __testing_incrementalExecutionResults?:
            | GraphQLExperimentalIncrementalExecutionResultsAlpha2<
                ObjMap<unknown>,
                ObjMap<unknown>,
            >
            | GraphQLExperimentalIncrementalExecutionResultsAlpha9<
                ObjMap<unknown>,
                unknown,
                ObjMap<unknown>,
            >;
        allowBatchedHttpRequests?: boolean;
        apollo?: ApolloConfigInput;
        cache?: KeyValueCache<string, KeyValueCacheSetOptions> | "bounded";
        csrfPrevention?: boolean | CSRFPreventionOptions;
        dangerouslyDisableValidation?: boolean;
        documentStore?: DocumentStore | null;
        executionOptions?: { maxCoercionErrors?: number };
        fieldResolver?: GraphQLFieldResolver<any, TContext>;
        formatError?: (
            formattedError: GraphQLFormattedError,
            error: unknown,
        ) => GraphQLFormattedError;
        gateway: GatewayInterface;
        hideSchemaDetailsFromClientErrors?: boolean;
        includeStacktraceInErrorResponses?: boolean;
        introspection?: boolean;
        legacyExperimentalExecuteIncrementally?: LegacyExperimentalExecuteIncrementally;
        logger?: Logger;
        maxRecursiveSelections?: number | boolean;
        nodeEnv?: string;
        parseOptions?: ParseOptions;
        persistedQueries?: false | PersistedQueryOptions;
        plugins?: ApolloServerPlugin<TContext>[];
        resolvers?: undefined;
        rootValue?: unknown;
        schema?: undefined;
        status400ForVariableCoercionErrors?: boolean;
        stopOnTerminationSignals?: boolean;
        stringifyResult?: (
            value: FormattedExecutionResult,
        ) => string | Promise<string>;
        typeDefs?: undefined;
        validationOptions?: { maxErrors?: number };
        validationRules?: ValidationRule[];
    }

    Type Parameters

    Hierarchy

    • ApolloServerOptionsBase<TContext>
      • ApolloServerOptionsWithGateway
    Index

    Properties

    __testing_incrementalExecutionResults?:
        | GraphQLExperimentalIncrementalExecutionResultsAlpha2<
            ObjMap<unknown>,
            ObjMap<unknown>,
        >
        | GraphQLExperimentalIncrementalExecutionResultsAlpha9<
            ObjMap<unknown>,
            unknown,
            ObjMap<unknown>,
        >
    allowBatchedHttpRequests?: boolean
    cache?: KeyValueCache<string, KeyValueCacheSetOptions> | "bounded"
    csrfPrevention?: boolean | CSRFPreventionOptions
    dangerouslyDisableValidation?: boolean
    documentStore?: DocumentStore | null
    executionOptions?: { maxCoercionErrors?: number }

    Type Declaration

    • OptionalmaxCoercionErrors?: number

      Set the maximum number of errors allowed for coercing (defaults to 50).

    fieldResolver?: GraphQLFieldResolver<any, TContext>
    formatError?: (
        formattedError: GraphQLFormattedError,
        error: unknown,
    ) => GraphQLFormattedError
    gateway: GatewayInterface
    hideSchemaDetailsFromClientErrors?: boolean
    includeStacktraceInErrorResponses?: boolean
    introspection?: boolean
    legacyExperimentalExecuteIncrementally?: LegacyExperimentalExecuteIncrementally
    logger?: Logger
    maxRecursiveSelections?: number | boolean
    nodeEnv?: string
    parseOptions?: ParseOptions
    persistedQueries?: false | PersistedQueryOptions
    resolvers?: undefined
    rootValue?: unknown
    schema?: undefined
    status400ForVariableCoercionErrors?: boolean
    stopOnTerminationSignals?: boolean
    stringifyResult?: (value: FormattedExecutionResult) => string | Promise<string>
    typeDefs?: undefined
    validationOptions?: { maxErrors?: number }
    validationRules?: ValidationRule[]