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
robust-apricotOP•15h ago
I'm using zod v4
genetic-orange•15h ago
pass the schema directly into
validateSearch
dont wrap it in another functionrobust-apricotOP•15h ago
thanks