Backref not working at route users/me #590
Unanswered
Master-Y0da
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Any help pls!! @frankie567 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following models(using tortoise-orm):
`
With the next pydantic models:
`
Basically I want access the route users/me and through backref auth_user, get a response like this:
`
(including nombre from Permiso class, actually it just returns until auth_user array level)
Please give me a hand with this...Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions