Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/tools / / ProjectSchemaOptions

Interface: ProjectSchemaOptions

Defined in: packages/tools/src/schema/to-json-schema.ts:39

Options for projectSchemaToJsonSchema.

Properties

PropertyModifierTypeDescriptionDefined in
onUnsupported?readonly(detail) => voidCalled (at most once per distinct reason per call) when a schema node cannot be represented and degrades to permissive {} - or when a validator-like object cannot be projected at all. Wire this to a counter/audit emitter; the converter itself never logs.packages/tools/src/schema/to-json-schema.ts:46