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
This seems like the most obvious/useful place to start with types that need to be pulled in from Postgres. Enum types and their values need to be read from the Postgres catalog and passed along as additional types from getTypes in the query package. These types can be merged in with the type mapping in #51 which can generate a corresponding typescript enum declaration as a TypeAlias and output that in the header of the generated file.
A similar approach can probably be used for composite types.
The text was updated successfully, but these errors were encountered:
This seems like the most obvious/useful place to start with types that need to be pulled in from Postgres. Enum types and their values need to be read from the Postgres catalog and passed along as additional types from
getTypes
in the query package. These types can be merged in with the type mapping in #51 which can generate a corresponding typescript enum declaration as aTypeAlias
and output that in the header of the generated file.A similar approach can probably be used for composite types.
The text was updated successfully, but these errors were encountered: