Skip to content
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

Provide an example of Apollo file upload #1036

Open
andrashatvani opened this issue Feb 8, 2021 · 3 comments
Open

Provide an example of Apollo file upload #1036

andrashatvani opened this issue Feb 8, 2021 · 3 comments
Labels
status: wontfix This will not be worked on type: documentation Documentation or test changes

Comments

@andrashatvani
Copy link

Currently there's no example demonstrating the implementation of a file upload. Desired would be one example with both, single and multiple files.

@dariuszkuc
Copy link
Collaborator

Apollo file uploads are not part of the GraphQL specification and are not supported "out-of-the-box". As per #518 you will have to configure Jackson object mapper to correctly handle those types (and potentially also configure custom data fetcher to apply the custom logic - if needed).

There are some examples linked in other related issues #661 (comment) and #518 (comment)

@smyrick smyrick changed the title Provide an example of file upload Provide an example of Apollo file upload Feb 8, 2021
@smyrick smyrick added type: documentation Documentation or test changes status: wontfix This will not be worked on labels Feb 8, 2021
@smyrick
Copy link
Contributor

smyrick commented Feb 8, 2021

@dariuszkuc Should we add a section to the docs mentioning Apollo file uploads and that they are not supported by default, just to clarify this for further issues?

@smyrick
Copy link
Contributor

smyrick commented Feb 8, 2021

Or should we leave that to the new discussion: #1037

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: wontfix This will not be worked on type: documentation Documentation or test changes
Development

No branches or pull requests

3 participants