createReadStream() throwing RangeError: Maximum call stack size exceeded when uploading file
- 阅读更多 关于 createReadStream() throwing RangeError: Maximum call stack size exceeded when uploading file
问题 I am trying to use Apollo Server's Upload scalar to send files to S3 directly. My schema: const { gql } = require('apollo-server-express') module.exports = gql` extend type Mutation { createPicture( name: String! picture: Upload! ): Picture! } type Picture { name: String! picture: String! } ` Resolver: const { combineResolvers } = require('graphql-resolvers') const isAuthenticated = require('./auth') const { uploadPhoto } = require('../services/picture') module.exports = { Mutation: {