Current: FileField
with blank=True
gets resolved as required by auto
!
Expected: FileField
with blank=True
gets resolved as optional by auto
.
As a temporary workaround I overwrite them explicitly on my type if they are supposed to allow being optional:
asset: FileType | None
Error is thrown from here
https://github.com/django/django/blob/475cffd1d64c690cdad16ede4d5e81985738ceb4/django/db/models/fields/files.py#L40
strawberry-graphql-django = "^0.42.0"
The issue has previously been reported, however the ticket owner closed it for a reason unknown to me.
Ref: #58
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too