jaydenseric / graphql-upload

Middleware and a scalar Upload to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.
https://npm.im/graphql-upload
MIT License
1.43k stars 132 forks source link

[Question] Best way to skip ASP.Net Core /Identity/Account/* #198

Closed lydonchandra closed 4 years ago

lydonchandra commented 4 years ago

GraphQL-Upload tries to process login action in ASP.NET Core. image

What is the best way of handling this? For now we can hardcode it to skip /Identity/Account/* urls

jaydenseric commented 4 years ago

I'm not familiar with ASP.NET or what is going on in that screenshot, but the graphql-upload Express and Koa middleware is only intended for use on the GraphQL endpoint, where it makes the assumption that any multipart request is a GraphQL multipart request.

jaydenseric commented 4 years ago

Closing because this issue is really a usage question, and I've already answered it as best I can. You might have better luck asking the question in forum specific to your chosen frameworks.