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
Is your feature request related to a problem? Please describe.
It is impossible to know the expected return type of a procedure from trpc-ui before it is run. Addressing this would be a nice quality of life fix.
Describe the solution you'd like Swagger displays expected output values. These typically have to be defined in the spec, however the whole point of tRPC is type inference. It should be possible to at least display the return type of a procedure.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
It is impossible to know the expected return type of a procedure from trpc-ui before it is run. Addressing this would be a nice quality of life fix.
Describe the solution you'd like
Swagger displays expected output values. These typically have to be defined in the spec, however the whole point of tRPC is type inference. It should be possible to at least display the return type of a procedure.
The text was updated successfully, but these errors were encountered: