FoalTS / foal

Full-featured Node.js framework, with no complexity. 🚀 Simple and easy to use, TypeScript-based and well-documented.
https://foalts.org/
MIT License
1.88k stars 137 forks source link

Allow all ajv option #1207

Closed kingdun3284 closed 8 months ago

kingdun3284 commented 1 year ago

Allow all ajv option

LoicPoullain commented 8 months ago

Hi @kingdun3284 👋

I'd rather not to go with the solution that takes an object from the config and pass it to AJV.

I admit it's (really) annoying to add every property every time but this way has some advantages through: