I'm generating types using open-api npx command, d...
# help
n
I'm generating types using open-api npx command, does anyone have a strategy for managing types when querying foreign tables. I'm currently creating custom for these
y
I encountered the same issue and did the same as you tbh. I also looked at other tools to generate typescript types from postgres and they all seem to reach that same conclusion
It seems very hard to understand and generate, even more to make TS Server understand that you're making a join, so none of the ones I found seem to support that nicely...
n
Yeah that makes sense. I saw in the supabase site that they are building their own tools for generating types. Excited to see how that will work Thanks for taking the time to respond
y
Oh I didn't see that actually, that sounds exciting!