-
-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add scalar_override example to File Upload #3389
Conversation
Add an example of setting a scalar override in order to get the correct type annotation of the runtime type of the Upload scalar
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. All the files appear to be documentation files, which we're not great at reviewing... yet!
for more information, see https://pre-commit.ci
Hi 👋 You can find a preview of the docs here: https://beta.strawberry.rocks/docs/pr/3389/guides/file-upload |
@jonfinerty great addition, I wonder if should do this automatically based on the current framework? /cc @erikwrede @bellini666 |
Probably we should :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Sorry for taking so long to merge this 😊
I think we might still want to make this almost invisible, but I'll open an issue for that :)
Thanks for contributing to Strawberry! 🎉 You've been invited to join You can also request a free sticker by filling this form: https://forms.gle/dmnfQUPoY5gZbVT67 And don't forget to join our discord server: https://strawberry.rocks/discord 🔥 |
Add an example of setting a scalar override in order to get the correct type annotation of the runtime type of the Upload scalar to the documentation, something which took me a while to work out myself. I don't know if it's worth the update, but would have saved me half an hour.
I don't think your adding RELEASE.md's for doc changes, but happy to add one if this is accepted.
Description
Short documentation about how to get file upload type annotations working based on the particular integration your using.
Types of Changes
Checklist