Skip to content

Refactor root #1985

Closed
Closed
@hueniverse

Description

@hueniverse

Change the root Joi reference to no longer be an any() type. It is now a simple object with methods for every schema type, some utilities, and some shortcuts to useful any() methods such as exist().

Replaced Joi.bind() with Joi.types() which returns fully baked types instead of bound functions.

Metadata

Metadata

Assignees

Labels

breaking changesChange that can breaking existing code

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions