Skip to main content

Function: createSchemaRegistry()

createSchemaRegistry(type, options): SchemaRegistry

Defined in: packages/core/src/composition/schema-registry.ts:40

Constructs a SchemaRegistry implementation for the given adapter type.

Returns the abstract SchemaRegistry port type — callers never see the concrete class.

Parameters

type

"fs"

Adapter type discriminant; determines which implementation is used

options

FsSchemaRegistryOptions

Filesystem schema registry options

Returns

SchemaRegistry

A fully constructed SchemaRegistry