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
I get the following error when trying to generate openapi json file: Input parser must be a ZodObject
The text was updated successfully, but these errors were encountered:
dnistreanu-diffco
changed the title
z.intersection() throws error when used as the input for trcp routerz.intersection() throws error when used as the input for trcp router
Mar 5, 2024
I've tried to use an intersection like this:
export const xInput = z.intersection( yInput.partial(), z.object({id: z.string()}) );
I get the following error when trying to generate
openapi
json file:Input parser must be a ZodObject
The text was updated successfully, but these errors were encountered: