Replies: 2 comments
-
I explained it here a long time ago, but, I believe, almost no one has seen it |
Beta Was this translation helpful? Give feedback.
0 replies
-
Finished. #60 |
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
-
The current unified return design goes through multiple parses, which I haven't mentioned, but I've always known about this, haha
The current parsing process: jsonable_encoder -> pydantic -> jsonable_encoder -> dict / others
Since I don't really like fastapi's data exclusion, which needs to be set in the api parameters, I customized it and, I haven't tested it for performance loss
May need to add: fastapi/fastapi#5462 (review)
or redesign the uniform return method
Beta Was this translation helpful? Give feedback.
All reactions