As someone that is using dynogels heavily in lambda; Joi -- and anything hapijs -- is the bane of my existence.
Joi alone turns my lambda 850kb bundle.zip into 3mb. And because their community violently opposes bundlers, they've stated time and time again they DGAF about making it better.
(I also question the security when this stuff goes unfixed even after reporting. Everything in a few of hapijs projects is globally +x for some unknown reason.)
Is there any interest in a PR that drops Joi and replaces it with json schema and something like ajv?
JSON Schema is not without its quirks, but it's a standard that works everywhere. Also -- aws seems to be choosing it internally with their api gateway swagger support and other places.
As someone that is using dynogels heavily in lambda; Joi -- and anything hapijs -- is the bane of my existence.
Joi alone turns my lambda 850kb bundle.zip into 3mb. And because their community violently opposes bundlers, they've stated time and time again they DGAF about making it better.
(I also question the security when this stuff goes unfixed even after reporting. Everything in a few of hapijs projects is globally +x for some unknown reason.)
Is there any interest in a PR that drops Joi and replaces it with json schema and something like ajv?
JSON Schema is not without its quirks, but it's a standard that works everywhere. Also -- aws seems to be choosing it internally with their api gateway swagger support and other places.