You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're currently assessing if we want to use @hapi/joi or express-validator. I'm in favor of this package because our app is in typescript, while the joi package is not, meaning we'd have to maintain the types in a separate file / package.
The only thing that's missing in this package is the ability to rename a field for backwards compatibility, see joi's API here:
We're currently assessing if we want to use @hapi/joi or express-validator. I'm in favor of this package because our app is in typescript, while the joi package is not, meaning we'd have to maintain the types in a separate file / package.
The only thing that's missing in this package is the ability to rename a field for backwards compatibility, see joi's API here:
https://hapi.dev/family/joi/?v=16.1.7#objectrenamefrom-to-options
Any thoughts on adding this as a sanitizer? Or some plugin API?
I'd be willing to open an MR for this!
The text was updated successfully, but these errors were encountered: