Skip to content

Commit 553919d

Browse files
committed
update to new graphql-binding api
1 parent 3c0189f commit 553919d

File tree

6 files changed

+4751
-93
lines changed

6 files changed

+4751
-93
lines changed

.graphqlconfig.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ extensions:
66
headers:
77
Authorization: "Bearer ${env:GITHUB_TOKEN}"
88
codegen:
9-
generator: graphql-codegen-binding
10-
target: src/generated-binding.ts
9+
generator: graphql-binding
1110
language: typescript
11+
input:
12+
schema: src/schema.ts
13+
output:
14+
binding: src/generated-binding.ts

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
},
1515
"dependencies": {
1616
"apollo-link": "1.2.2",
17-
"cross-fetch": "2.1.1",
1817
"apollo-link-http": "1.5.3",
18+
"cross-fetch": "2.1.1",
1919
"graphql": "0.13.2",
20-
"graphql-binding": "1.2.5",
20+
"graphql-binding": "^1.4.0-beta.21",
2121
"graphql-tools": "2.23.1"
2222
},
2323
"devDependencies": {
2424
"@types/graphql": "0.13.0",
2525
"@types/node": "9.6.11",
26-
"typescript": "2.8.3"
26+
"typescript": "^2.8.3"
2727
},
2828
"repository": {
2929
"type": "git",

0 commit comments

Comments
 (0)