You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class SomePydanticModel(pydantic.BaseModel):
url: pydantic.AnyUrl = pydantic.Field()
class SomeGrapheneObject(graphene_pydantic.PydanticObjectType):
class Meta:
model = SomePydanticModel
But I receive the following error:
graphene_pydantic.converters.ConversionError: Don't know how to convert the Pydantic field FieldInfo(annotation=Url, required=True) (<class 'pydantic_core._pydantic_core.Url'>)
Is there a way to support this field?
graphene==3.3
graphene-pydantic==0.6.1
The text was updated successfully, but these errors were encountered:
I am trying to use pydantic's AnyUrl type:
But I receive the following error:
graphene_pydantic.converters.ConversionError: Don't know how to convert the Pydantic field FieldInfo(annotation=Url, required=True) (<class 'pydantic_core._pydantic_core.Url'>)
Is there a way to support this field?
graphene==3.3
graphene-pydantic==0.6.1
The text was updated successfully, but these errors were encountered: