tablelandnetwork / studio

Discover, design, deploy, and manage data driven web3 apps on Tableland.
https://studio.tableland.xyz
4 stars 1 forks source link

(cli) use Zod to validate runtime user input #185

Closed joewagner closed 8 months ago

joewagner commented 9 months ago

fixes https://linear.app/tableland/issue/ENG-765/cli-replace-native-runtime-user-input-checks-with-zod-checks

railway-app[bot] commented 9 months ago

This PR was not deployed automatically as @joewagner does not have access to the Railway project.

In order to get automatic PR deploys, please add @joewagner to your team on Railway.

linear[bot] commented 8 months ago
ENG-765 CLI: replace native runtime user input checks with Zod checks

The cli does runtime checks of user input via native JS `if (…)` conditionals. Zod can do this kind of thing, and since it's being used in `web` we are going to switch to using Zod in the cli.