Skip to content

Change object to immutable #221

@hueniverse

Description

@hueniverse

This will allow defining new types which can be further modified without changing the shared root. Will also enable future functionality such as conditional rules that fork the validation tree.

Removed deprecated: Joi.types, Joi.Types, nullOk(), emptyOk(), and deny().

Metadata

Metadata

Assignees

Labels

breaking changesChange that can breaking existing codefeatureNew functionality or improvement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions