joi icon indicating copy to clipboard operation
joi copied to clipboard

Implement Standard Schema

Open xballoy opened this issue 11 months ago • 1 comments

Runtime

node.js

Runtime version

22.16.0 (LTS)

Module version

17.13.3

Used with

No response

Any other relevant information

No response

What problem are you trying to solve?

Implement the Standard Schema spec so that library that are not linked to a specific validation lib can also use Joi.

All those tools support the spec: https://github.com/standard-schema/standard-schema?tab=readme-ov-file#what-tools--frameworks-accept-spec-compliant-schemas

Do you have a new or modified API suggestion to solve the problem?

Implementation details are already defined by the spec: https://github.com/standard-schema/standard-schema?tab=readme-ov-file#how-can-my-schema-library-implement-the-spec

xballoy avatar May 26 '25 20:05 xballoy

@Marsup if you are willing to merge and release this I can work on this feature

xballoy avatar May 26 '25 20:05 xballoy