-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested PydanticInputObjectType #104
Comments
If you add A model input BEFORE BInput, your code will work. In my opinion, do not use this package in production! full code example:
|
I am not sure, if this solves the problem. If you run the minimalistic example from #107 class P_A(PydanticInputObjectType): P_A.resolve_placeholders() this method has clearly no argument model... If you take out the keyword from the call, it is working. Thanks |
Hello,
I wanted to use nested pydantic.BaseModel with PydanticInputObjectType, but I struggle to make it work
Something like this:
Gives me:
I tried using
resolve_placeholders
, but then I get an error:My versions are:
Is there any way to use PydanticInputObjectType in nested case?
The text was updated successfully, but these errors were encountered: