ValidatorRegistry #
@furo/furo-framework v2.4.11
import '@furo/framework/src/ValidatorRegistry.js';
exports ValidatorRegistry js
This is used by the FieldNode to validate against specified constraints. Scalar values must not be registered.
Attributes and Properties #
Methods #
register #
register(typename String
ValidatorClass Class
) ⟹ void
Register a validator for a specific type.
- typename
- ValidatorClass
getValidator #
getValidator(typename String
) ⟹ *|boolean
Receive a validator for a specific complex type
- typename