search parameter is not inferred correctly?
I'm using
validateSearch according to the documentation but the type is not inferred at all. It just shows as an empty object, what am I doing wrong?
3 Replies
deep-jadeOP•2mo ago
I'm using zod v4
optimistic-gold•2mo ago
pass the schema directly into
validateSearch
dont wrap it in another functiondeep-jadeOP•2mo ago
thanks