Skip to content

Use class validator in client types #6

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

Open
0oM4R opened this issue Mar 2, 2025 · 0 comments
Open

Use class validator in client types #6

0oM4R opened this issue Mar 2, 2025 · 0 comments

Comments

@0oM4R
Copy link

0oM4R commented Mar 2, 2025

To make sure all inputs got validated, we can use the class validator as we are doing on the grid client
for example:

https://github.com/threefoldtech/tfgrid-sdk-ts/blob/d2ce6c5eae8b51eba0bf3f37c74180c5b1324c81/packages/grid_client/src/zos/zmount.ts#L8-L10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant