Is there way to inject user_id in create_schema using dependency injection based on user passed on create_route dependency?? #183
Unanswered
bhuwanaryal19
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Let's say that I have two tables in my database.
And I'm using JWT for authentication, which helps me find out who the user is. What I want to do is:
Let me know if you have a solution for this. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here I want to inject owner_id based on current user session.
Beta Was this translation helpful? Give feedback.
All reactions