Step factory: parse the workflow input with a Zod-like schema (or a unary parse function). Call .as(key) to name the output field.
.as(key)
parseWith(IdSchema, toError).as("id");// Used as the first step in `railway(rawId, parseId, ...)` Copy
parseWith(IdSchema, toError).as("id");// Used as the first step in `railway(rawId, parseId, ...)`
Step factory: parse the workflow input with a Zod-like schema (or a unary parse function). Call
.as(key)to name the output field.