TypeError: Registry.register_object_field() got an unexpected keyword argument 'model'
when trying to build a model, I am getting the error:
TypeError: Registry.register_object_field() got an unexpected keyword argument 'model'
checked the method and it does not have "model" as argument... so the error seems to be correct. The call of the method not. Any advice?
here is a minimalistic example:
´´´ class A(pydantic.BaseModel): x: str | None = None y: list["A"] | None = None
class P_A(PydanticInputObjectType): class Meta: model = A
P_A.resolve_placeholders() ´´´
I think it is the same as here: https://github.com/graphql-python/graphene-pydantic/issues/104
i answered here in https://github.com/graphql-python/graphene-pydantic/issues/104