Skip to content

validateWithSchema

validateWithSchema<T>(schema, data, fileName): T

Defined in: packages/simply-cicd-core/src/deploy/deployCommon.ts:59

Validates data against a zod schema, throwing a formatted error (one bullet per issue) if it fails.

T

ZodType<T>

unknown

string

T