-
-
Notifications
You must be signed in to change notification settings - Fork 155
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Feature request
Is your feature request related to a problem? Please describe.
Currently, functions returning setof <table>
aren't properly typed, e.g. returns unknown
.
Describe the solution you'd like
I noticed that /functions
endpoint already resolves the return_type
properly to <table-name>
so I'm not sure if this is actually a bug or just not implemented yet. As the tables types will already be generated anyways I imagine it should be "easy" to copy them over?
I wonder if this might be intentional, but I can't think of any reason why it would be. However, I don't want to rule out the possibility that I'm missing something here, and I'm curious about your opinion.
Describe alternatives you've considered
Manually casting the type.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request