Why use Joi and not Ajv?
pksjce opened this issue · 4 comments
pksjce commented
I found that webpack itself uses ajv with this JSON schema to validate it's configs.
If that is the case, why duplicate that using Joi? Was there any specific reason?
jonathanglasmeyer commented
This library was mainly written half a year ago. Look at the history for webpack's internal schema definitions: https://github.com/webpack/webpack/commits/master/schemas
:)
pksjce commented
Ah! That was a bit naive of me. Wouldn't this project be easier to update and maintain if it too used the same schema as webpack now?
jonathanglasmeyer commented
It probably makes sense to deprecate this project soon now that webpack core does it. :)
pksjce commented
He he. Cool. Got it!