interface RemoteSchemaOptions {
    apollo?: ApolloConfigInput;
    cache?: KeyValueCache<string>;
    cacheControl?: boolean | CacheControlExtensionOptions;
    context?: object | ContextFunction<any, object>;
    dataSources?: (() => DataSources<object>);
    debug?: boolean;
    engine?: boolean | EngineReportingOptions<object>;
    executor?: GraphQLExecutor;
    experimental_approximateDocumentStoreMiB?: number;
    extensions?: (() => GraphQLExtension<any>)[];
    fieldResolver?: GraphQLFieldResolver<any, object>;
    formatError?: ((error: GraphQLError) => GraphQLFormattedError<Record<string, any>>);
    formatResponse?: ((response: GraphQLResponse, requestContext: GraphQLRequestContext<object>) => GraphQLResponse);
    gateway?: GraphQLService;
    introspection?: boolean;
    logger?: Logger;
    mockEntireSchema?: boolean;
    mocks?: boolean | IMocks;
    modules?: GraphQLSchemaModule[];
    parseOptions?: GraphQLParseOptions;
    path: string;
    persistedQueries?: false | PersistedQueryOptions;
    playground?: PlaygroundConfig;
    plugins?: PluginDefinition[];
    resolvers?: IResolvers<any, any> | IResolvers<any, any>[];
    rootValue?: any;
    schema?: GraphQLSchema;
    schemaDirectives?: Record<string, typeof SchemaDirectiveVisitor>;
    stopOnTerminationSignals?: boolean;
    subscriptions?: string | false | Partial<SubscriptionServerOptions>;
    tracing?: boolean;
    typeDefs?:
        | string
        | string[]
        | DocumentNode
        | DocumentNode[];
    uploads?: boolean | FileUploadOptions;
    validationRules?: ((context: ValidationContext) => any)[];
}

Hierarchy

  • Config
    • RemoteSchemaOptions

Properties

apollo?: ApolloConfigInput
cache?: KeyValueCache<string>
cacheControl?: boolean | CacheControlExtensionOptions
context?: object | ContextFunction<any, object>
dataSources?: (() => DataSources<object>)
debug?: boolean
engine?: boolean | EngineReportingOptions<object>
executor?: GraphQLExecutor
experimental_approximateDocumentStoreMiB?: number
extensions?: (() => GraphQLExtension<any>)[]
fieldResolver?: GraphQLFieldResolver<any, object>
formatError?: ((error: GraphQLError) => GraphQLFormattedError<Record<string, any>>)
formatResponse?: ((response: GraphQLResponse, requestContext: GraphQLRequestContext<object>) => GraphQLResponse)
gateway?: GraphQLService
introspection?: boolean
logger?: Logger
mockEntireSchema?: boolean
mocks?: boolean | IMocks
modules?: GraphQLSchemaModule[]
parseOptions?: GraphQLParseOptions
path: string
persistedQueries?: false | PersistedQueryOptions
playground?: PlaygroundConfig
plugins?: PluginDefinition[]
resolvers?: IResolvers<any, any> | IResolvers<any, any>[]
rootValue?: any
schema?: GraphQLSchema
schemaDirectives?: Record<string, typeof SchemaDirectiveVisitor>
stopOnTerminationSignals?: boolean
subscriptions?: string | false | Partial<SubscriptionServerOptions>
tracing?: boolean
typeDefs?:
    | string
    | string[]
    | DocumentNode
    | DocumentNode[]
uploads?: boolean | FileUploadOptions
validationRules?: ((context: ValidationContext) => any)[]