Hierarchy

  • Config
    • RemoteSchemaOptions

Properties

apollo?: ApolloConfigInput
cache?: KeyValueCache<string>
cacheControl?: boolean | CacheControlExtensionOptions
context?: object | ContextFunction<any, object>
dataSources?: (() => DataSources<object>)

Type declaration

    • (): DataSources<object>
    • Returns DataSources<object>

debug?: boolean
engine?: boolean | EngineReportingOptions<object>
executor?: GraphQLExecutor
experimental_approximateDocumentStoreMiB?: number
extensions?: (() => GraphQLExtension<any>)[]

Type declaration

    • (): GraphQLExtension<any>
    • Returns GraphQLExtension<any>

fieldResolver?: GraphQLFieldResolver<any, object>
formatError?: ((error) => GraphQLFormattedError<Record<string, any>>)

Type declaration

    • (error): GraphQLFormattedError<Record<string, any>>
    • Parameters

      • error: GraphQLError

      Returns GraphQLFormattedError<Record<string, any>>

formatResponse?: ((response, requestContext) => GraphQLResponse)

Type declaration

    • (response, requestContext): GraphQLResponse
    • Parameters

      • response: GraphQLResponse
      • requestContext: GraphQLRequestContext<object>

      Returns 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) => any)[]

Type declaration

    • (context): any
    • Parameters

      • context: ValidationContext

      Returns any

Generated using TypeDoc