Skip to content

Commit

Permalink
feat(stitching): enable proxying uploads
Browse files Browse the repository at this point in the history
Adds a new scalar for the gateway and a new server to server link that
allows proxying of remote file uploads using the graphql-upload format.
  • Loading branch information
yaacovCR committed Dec 31, 2019
1 parent 206f63c commit f4adce8
Show file tree
Hide file tree
Showing 11 changed files with 599 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
!dist/
!dist/*
!dist/generate/*
!dist/links/*
!dist/scalars/*
!dist/stitching/*
!dist/transforms/*
!dist/utils/*
Expand Down
17 changes: 15 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,28 +50,40 @@
"homepage": "https://github.com/apollostack/graphql-tools#readme",
"dependencies": {
"apollo-link": "^1.2.13",
"apollo-link-http-common": "^0.2.15",
"apollo-utilities": "^1.3.3",
"deprecated-decorator": "^0.1.6",
"extract-files": "^6.0.0",
"form-data": "^3.0.0",
"iterall": "^1.2.2",
"node-fetch": "^2.6.0",
"uuid": "^3.3.3"
},
"peerDependencies": {
"graphql": "^14.2.0"
},
"devDependencies": {
"@types/apollo-upload-client": "^8.1.3",
"@types/chai": "^4.2.7",
"@types/dateformat": "^3.0.1",
"@types/express": "^4.17.2",
"@types/extract-files": "^3.1.0",
"@types/graphql-upload": "^8.0.3",
"@types/mocha": "^5.2.7",
"@types/node": "^12.12.21",
"@types/node-fetch": "^2.5.4",
"@types/supertest": "^2.0.8",
"@types/uuid": "^3.4.6",
"@types/zen-observable": "^0.8.0",
"apollo-upload-client": "^12.1.0",
"body-parser": "^1.19.0",
"chai": "^4.2.0",
"dateformat": "^3.0.3",
"express": "^4.17.1",
"express-graphql": "^0.9.0",
"graphql": "^14.5.8",
"graphql-subscriptions": "^1.1.0",
"graphql-type-json": "^0.3.1",
"graphql-upload": "^9.0.0",
"istanbul": "^0.4.5",
"mocha": "^6.2.2",
"prettier": "^1.19.1",
Expand All @@ -80,6 +92,7 @@
"source-map-support": "^0.5.16",
"standard-version": "^7.0.1",
"tslint": "^5.20.1",
"typescript": "3.7.3"
"typescript": "3.7.3",
"zen-observable-ts": "^0.8.20"
}
}
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
export * from './Interfaces';
export * from './links';
export * from './makeExecutableSchema';
export * from './mock';
export * from './scalars';
export * from './stitching';
export * from './transforms';
export * from './utils';

0 comments on commit f4adce8

Please sign in to comment.