Open cayala5 opened 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.
spotify_api.ts
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.