AvroSerializerOptionsValidator
Esta página aún no está disponible en tu idioma.
Defined in: src/serialization/AvroSerializerOptions.ts:91
Validates resolved AvroSerializerOptionsType settings. id is
a wire contract that outlives the process — a bad one is discovered
when old rows stop decoding, so it is rejected at construction instead.
Extends
Section titled “Extends”Type Parameters
Section titled “Type Parameters”T = unknown
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AvroSerializerOptionsValidator<
T>():AvroSerializerOptionsValidator<T>
Defined in: src/serialization/AvroSerializerOptions.ts:93
Returns
Section titled “Returns”AvroSerializerOptionsValidator<T>
Overrides
Section titled “Overrides”OptionsValidator<AvroSerializerOptionsType<T>>.constructor
Methods
Section titled “Methods”validate()
Section titled “validate()”validate(
settings):void
Defined in: src/util/OptionsValidator.ts:75
Check the (merged) settings; throws OptionsError on the first
violation. Unset (undefined) fields always pass.
Parameters
Section titled “Parameters”settings
Section titled “settings”Partial<T>
Returns
Section titled “Returns”void
