The query parameters parsed by schema, typed: a field declared as an array takes every value of a repeated parameter (?id=1&id=2), the others the first. Throws a ValidationError (400) when they do not match; use z.coerce for numbers and dates.
schema
?id=1&id=2
ValidationError
z.coerce
The query parameters parsed by
schema, typed: a field declared as an array takes every value of a repeated parameter (?id=1&id=2), the others the first. Throws aValidationError(400) when they do not match; usez.coercefor numbers and dates.