Replies: 3 comments
-
Are there any updates on it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Any updates? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Had this problem, Try to look at Early init |
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
-
where the author model has a "display_name" field, how can I include display_name in Comment_Pydantic? When I try
include=["author__display_name"]
, no field is added. When I tryinclude=["author"]
, I get errors saying "response -> 0 -> author -> [some field on author]" / "field required (type=value_error.missing)". I imagine the issue in the latter case is then I have to fetch all of author whereas I'm just prefetching "author__display_name". Is there a way to only include one field on the relation?Beta Was this translation helpful? Give feedback.
All reactions