Exposing unused fields in FastAPI docs #1371
Unanswered
robz-tirtlib
asked this question in
Q&A
Replies: 2 comments
-
I also encountered this, I had to test and make sure that these fields are really not used. Still, you made an amazing library! |
Beta Was this translation helpful? Give feedback.
0 replies
-
I confirm that those fields are ignored in The main motivation behind this is for simplicity. Otherwise, we would need to have a dedicated schema for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Inheritance from this (
fastapi-users/fastapi_users/schemas.py
Line 64 in ae9f524
My guess on why it is made this way - to support manual creation of users by admins of system. If it is the case why not implement two separate flows for these actions (and separate schemas as well)?
Otherwise, what was the point?
Thanks in advance, just trying to understand the motivation behind this solution.
Beta Was this translation helpful? Give feedback.
All reactions