Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve messages in zod validation #5240

Open
2 tasks
kanej opened this issue May 16, 2024 · 0 comments
Open
2 tasks

Improve messages in zod validation #5240

kanej opened this issue May 16, 2024 · 0 comments
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Milestone

Comments

@kanej
Copy link
Member

kanej commented May 16, 2024

Add testing and improved error messages around the Zod validation package ./v-next/hardhat-zod-utils that we use for config validation.

TODO

  • Test the utilities and types
  • Provide good human-readable messages describing the zod issues (e.g. invalid unions) — Lower priority
@kanej kanej added v-next A Hardhat v3 development task status:ready This issue is ready to be worked on labels May 16, 2024
@kanej kanej added this to the vnext milestone May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Projects
Status: To-do
Development

No branches or pull requests

1 participant