bad recommendation to update types on a schedule?

is it just me or it doesn't make much sense to suggest updating types on a schedule? usually one updates TS types when working on the database, and needs to get the result immediately I don't see any scenario where one updates the database, then waits until the next day for correct typing in the code https://supabase.com/docs/guides/api/rest/generating-types#update-types-automatically-with-github-actions
1 Reply
silentworks
silentworks3w ago
It's not a recommendation, it's a suggestion. This is moreso useful for folks who work in teams that use the hosted Supabase instance as their development environment. They can get the latest version of the types when they do a git pull rather than running the command manually or they can just run the command manually since it's in their package.json.

Did you find this page helpful?