yezyilomo / django-restql

Turn your API made with Django REST Framework(DRF) into a GraphQL like API.
https://yezyilomo.github.io/django-restql
MIT License
621 stars 43 forks source link

Empty string(`""`) Should be invalid value for nested fields #280

Closed yezyilomo closed 3 years ago

yezyilomo commented 3 years ago

Currently, the empty string ("") is a valid value for nested fields, it's equivalent to None(null). But this behavior does not make sense to users since, in reality, the empty string doesn't correspond to None in any way, so we're going to drop it.