Update return entity type
Didn't find this in the docs or through questions here.
I want typescript to respect the return type that has foreign relationships returned. For example, I have this query:
But it is selecting some related tables:
Is there a way to update it so that when I access this return type on the frontend I get typescript completion for the included tables? I can't seem to find a way to do this from the
Thanks!!!
I want typescript to respect the return type that has foreign relationships returned. For example, I have this query:
But it is selecting some related tables:
Is there a way to update it so that when I access this return type on the frontend I get typescript completion for the included tables? I can't seem to find a way to do this from the
main.wasp file. Thanks!!!