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
Is there support for something like zod unions in the Validator module? The key use case here is for validating query string parameters that could be string or array. It should be something like:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there support for something like zod unions in the Validator module? The key use case here is for validating query string parameters that could be string or array. It should be something like:
This would validate both single query string parameters as well as multiple.
Any ideas? Or is this a feature request?
@RomainLanz I saw you reply to a validator feature request, so you might be interested :)
Beta Was this translation helpful? Give feedback.
All reactions