You can validate your Pipeline's input using the validateInput
method.
Using Zod
Aigur also provides a zod
helper to validate your input using Zod (opens in a new tab).
@aigur/validate
provides a function called validateInput
that takes a Zod schema and returns a validation function that can be used in your pipeline.