adonisjs / v5-docs

📚 Source code and documentation for the official docs website.
https://v5-docs.adonisjs.com
88 stars 138 forks source link

docs: remove first object parameter from string validator #203

Closed LeCoupa closed 1 year ago

LeCoupa commented 1 year ago

If I'm not mistaken, the empty object we use as a first parameter is useless after the April 2022 update as we are encouraged to use trim or escape in the array.

https://docs.adonisjs.com/releases/april-2022-release#validator-improvements

RomainLanz commented 1 year ago

Thanks!