stagehand icon indicating copy to clipboard operation
stagehand copied to clipboard

Adding zod validation

Open CtrlAltGiri opened this issue 10 months ago • 1 comments

why

Adding zod validation errors in the error response to ensure better debugging for developers.

Resolving issue: #689

what changed

  1. Adding a new ZodValidationError.
  2. Stringifying the JSON in the ValidationError.

test plan

CtrlAltGiri avatar Apr 20 '25 12:04 CtrlAltGiri

⚠️ No Changeset found

Latest commit: 36b77de637393b8264ee929bf1d8160f8df0ad0b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Apr 20 '25 12:04 changeset-bot[bot]

Hey @CtrlAltGiri thanks for this PR! Going to push a couple changes to your branch here so that we can get this over the line

seanmcguire12 avatar May 09 '25 17:05 seanmcguire12