Skip to main content

handlers_json_schema_src.default

Class: default#

handlers/json-schema/src.default

Hierarchy#

Implements#

Table of contents#

Constructors#

Properties#

Methods#

Constructors#

constructor#

+ new default(__namedParameters: GetMeshSourceOptions<JsonSchemaHandler, JsonSchemaIntrospectionCache\>): default

Parameters:#

NameType
__namedParametersGetMeshSourceOptions<JsonSchemaHandler, JsonSchemaIntrospectionCache\>

Returns: default

Defined in: packages/handlers/json-schema/src/index.ts:46

Properties#

cache#

cache: KeyValueCache<any\>

Defined in: packages/handlers/json-schema/src/index.ts:44


config#

config: JsonSchemaHandler

Defined in: packages/handlers/json-schema/src/index.ts:42


introspectionCache#

introspectionCache: JsonSchemaIntrospectionCache

Defined in: packages/handlers/json-schema/src/index.ts:46


pubsub#

pubsub: MeshPubSub

Defined in: packages/handlers/json-schema/src/index.ts:45


schemaComposer#

schemaComposer: SchemaComposer<unknown\>

Defined in: packages/handlers/json-schema/src/index.ts:65

Methods#

getMeshSource#

getMeshSource(): Promise<{ contextVariables: string[] ; schema: GraphQLSchema }\>

Returns: Promise<{ contextVariables: string[] ; schema: GraphQLSchema }\>

Implementation of: MeshHandler.getMeshSource

Defined in: packages/handlers/json-schema/src/index.ts:67