strawberry
strawberry copied to clipboard
Add support for framework's specific upload type
From https://github.com/strawberry-graphql/strawberry/pull/3389
We should allow users to do things like this:
import strawberry
from starlette.datastructures import UploadFile
@strawberry.type
class Mutation:
@strawberry.mutation
class upload(self, file: UploadFile) -> str:
return "ok"
For every framework, so they get better typing 😊
Upvote & Fund
- We're using Polar.sh so you can upvote and help fund this issue.
- We receive the funding once the issue is completed & confirmed by you.
- Thank you in advance for helping prioritize & fund our backlog.