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 your feature request related to a problem? Please describe.
Event data is not validated against Zod schemas used for defining Inngest client event schemas.
Describe the solution you'd like
When Zod schemas are used, the send() function should validate the provided data against the corresponding Zod schema.
Describe alternatives you've considered
An alternative could be to remove EventSchemas.fromZod. This might be less ambiguous, as users familiar with Zod know they can use z.infer.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Event data is not validated against Zod schemas used for defining Inngest client event schemas.
Describe the solution you'd like
When Zod schemas are used, the
send()
function should validate the provided data against the corresponding Zod schema.Describe alternatives you've considered
An alternative could be to remove
EventSchemas.fromZod
. This might be less ambiguous, as users familiar with Zod know they can use z.infer.Additional context
N/A
The text was updated successfully, but these errors were encountered: