-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or requestrefineIssue needs refinementIssue needs refinement
Milestone
Description
Describe the story
Create a validation utility which uses the zod library to parse and validate a Zod schema. When validation errors occur, format the ZodError issues into a nicely formatted ValidationError.
Acceptance criteria
GIVEN an object is validated with the validation utility
WHEN the validation succeeds
THEN the parsed and validated object is returned
WHEN the validation fails
THEN a ValidationError is returned whose message contains the issues from the original ZodError
Additional context
Add any other context about the story here.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestrefineIssue needs refinementIssue needs refinement