Open bartonhammond opened 4 years ago
I've been able to walk through the debugger and it appears that apollo-server-express
automatically handles the file loading. It knows this because of the uploads
config to ApolloServer. It appears to me that the call from the client is correct w/ the multi-part file input. But the mutation singleUpload
is never called to handle the file.
Followed instructions here https://grandstack.io/docs/graphql-custom-logic/#implementing-custom-resolvers, but I'm not able to get the file upload resolvers to be recognized. With a breakpoint set w/in the resolver, it doesn't break. Not sure how to debug. I also looked at https://codesandbox.io/s/0on871118p
schema:
Resolvers:
server: