cayala5 / playtron

A simple web app for advanced control of my Spotify playlists
0 stars 0 forks source link

Use a validation library #7

Open cayala5 opened 7 months ago

cayala5 commented 7 months ago

There's a lot of brittle code in spotify_api.ts to validate the data returned from the Spotify API. It's probably not a big deal for now, but as this grows, we'll need a more scalable way to do validation to maintain runtime type safety.