You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parameter of my function is from another schema. Then the fn.argument_types property has the value like customschema.people, while the table.name is just people
I created a custom Database interface that complements the missing fields. This way I can still regenerate the types without redoing my manual changes every time
Bug report
Describe the bug
The below line introduced the bug in v0.61.1
postgres-meta/src/lib/sql/functions.sql
Line 44 in e4dc217
The above results in computed column typehint always equal to
unknown
To Reproduce
Setup Supabase with the following schema:
Run
node \ --no-warnings \ dist/server/server.js \ gen types typescript \ --include-schemas public
Or the following if docker-compose is setup with meta using
v0.61.1
:Expected behavior
The typescript generated should be
Screenshots
The typescript generated is however
System information
Additional context
Reverting the changes of the below resolve the issue
postgres-meta/src/lib/sql/functions.sql
Line 44 in e4dc217
The text was updated successfully, but these errors were encountered: