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

Refactor to use Zod #248

Open
bwateratmsft opened this issue Feb 25, 2025 · 1 comment · May be fixed by #249
Open

Refactor to use Zod #248

bwateratmsft opened this issue Feb 25, 2025 · 1 comment · May be fixed by #249
Labels
engineering Related to engineering

Comments

@bwateratmsft
Copy link
Contributor

Zod would allow us to delete a lot of total lines of code while validating more of the properties in objects that Docker / Podman / etc. return. This would also strengthen the E2E tests we need to add in #76.

@bwateratmsft bwateratmsft added the engineering Related to engineering label Feb 25, 2025
@bwateratmsft
Copy link
Contributor Author

bwateratmsft commented Feb 25, 2025

Additional note, Copilot is really efficient at rewriting TypeScript types/interfaces to Zod schemas.

@bwateratmsft bwateratmsft linked a pull request Feb 28, 2025 that will close this issue
@bwateratmsft bwateratmsft linked a pull request Mar 3, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engineering Related to engineering
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant