Graphql-dotnet: How to create a file upload endpoint with dotnet-graphql

Created on 5 Jun 2018  路  3Comments  路  Source: graphql-dotnet/graphql-dotnet

I am trying to create an endpoint about file upload but it doesn't handle with Apollo client. I asked at stackoverflow

Please help with this.

question

All 3 comments

Looks like it's possible but not currently documented.

@petrovic-ivan seems to have implemented it here.
@jlebensold has also managed it here.

Would be nice to get this documented.

Is there any working example of how to upload a file? @joemcbride

closing this since it is outside the scope of graphql-dotnet. the graphql spec doesnt define how attachments should be done, and graphql-dotnet does not stop you from using any of the suggested workarounds. for example https://github.com/SimonCropp/GraphQL.Attachments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pravinhabbu4u picture pravinhabbu4u  路  4Comments

mahald picture mahald  路  4Comments

phoenixjun picture phoenixjun  路  4Comments

thivy picture thivy  路  3Comments

csantero picture csantero  路  4Comments