tursodatabase / turso-cli

Command line interface to Turso.
https://turso.tech
MIT License
229 stars 37 forks source link

Remove duplicate check that is done on the backend #844

Closed athoscouto closed 7 months ago

athoscouto commented 7 months ago

Since we've refined our logic there, and the API returns a nice error we should remove the checks done by the client.

Example:

➜  turso git:(athos/longer-db-names) turso db create aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Error: could not create database aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa: invalid database name: name must contain between 1 and 52 characters