-
Notifications
You must be signed in to change notification settings - Fork 765
Open
Labels
Description
hello devs.
During a conversation about an issue of graphql-core @jkimbo found a possible error
graphene-django/graphene_django/converter.py
Lines 111 to 113 in 5051d3b
@convert_django_field.register(models.DurationField) | |
def convert_field_to_float(field, registry=None): | |
return Float(description=field.help_text, required=not field.null) |
raising something like { "message": "float() argument must be a string or a number, not 'datetime.timedelta'" }
you can check graphql-python/graphql-core#150 for more info.
MariuszBielecki288728, YeemBoi and uallmight