Closed sandervanhooft closed 8 years ago
@sandervanhooft peerDependencies
are deprecated in npm 3. I don't think we should add them
Ok, good to know :). Perhaps as a dependency then? It's not included by the Apollo stack as far as I know.
On Thu, 1 Dec 2016 at 06:23 Andrew E. Rhyne notifications@github.com wrote:
@sandervanhooft https://github.com/sandervanhooft peerDependencies are deprecated in npm 3. I don't think we should add them
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HriBB/graphql-server-express-upload/issues/1#issuecomment-264081774, or mute the thread https://github.com/notifications/unsubscribe-auth/AG7dp8_PYrelyXB7StTIFz7Q6se9WFUCks5rDlmygaJpZM4LAI4N .
We can add it as a dependency
. Again, want to make a PR? Otherwise I will fix this next week ... hopefully :)
I'm using "multer": "^1.2.0"
, will try to make a PR soon
I honestly dont know if adding it as a dependency is the correct approach, unless we also bind the middleware ourselves within the apollo upload middleware. That might actually be the ideal solution here
@HriBB After reading the docs and checking
package.json
, I'd suggest to addmulter
to the peer dependencies.